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.Integerconvert(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: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.Integer>- Parameters:
number- object to convert- Returns:
- the converted object
-
-