Class NumberLongConverter<NumberType extends Number>
java.lang.Object
com.saperion.common.lang.conversion.primitive.NumberLongConverter<NumberType>
public class NumberLongConverter<NumberType extends Number>
extends Object
implements Converter<NumberType,Long>
Converts integer to long.
- Author:
- jschwarz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert
(NumberType number) Converts the specified object and returns the conversion result.
-
Constructor Details
-
NumberLongConverter
public NumberLongConverter()
-
-
Method Details
-
convert
Description copied from interface:Converter
Converts the specified object and returns the conversion result. Implementations have to acceptnull
-values without throwing exceptions.- Specified by:
convert
in interfaceConverter<NumberType extends Number,
Long> - Parameters:
number
- object to convert- Returns:
- the converted object
-