Class NumberIntegerConverter<NumberType extends java.lang.Number>
- java.lang.Object
-
- com.saperion.common.lang.conversion.primitive.NumberIntegerConverter<NumberType>
-
-
Constructor Summary
Constructors Constructor Description NumberIntegerConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
convert(NumberType number)
Converts the specified object and returns the conversion result.
-
-
-
Method Detail
-
convert
public java.lang.Integer convert(NumberType number)
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 java.lang.Number,java.lang.Integer>
- Parameters:
number
- object to convert- Returns:
- the converted object
-
-