Class NumberLongConverter<NumberType extends java.lang.Number>
- java.lang.Object
-
- com.saperion.common.lang.conversion.primitive.NumberLongConverter<NumberType>
-
-
Constructor Summary
Constructors Constructor Description NumberLongConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Longconvert(NumberType number)Converts the specified object and returns the conversion result.
-
-
-
Method Detail
-
convert
public java.lang.Long convert(NumberType number)
Description copied from interface:ConverterConverts the specified object and returns the conversion result. Implementations have to acceptnull-values without throwing exceptions.- Specified by:
convertin interfaceConverter<NumberType extends java.lang.Number,java.lang.Long>- Parameters:
number- object to convert- Returns:
- the converted object
-
-