Class NumberIntegerConverter<NumberType extends Number>
java.lang.Object
com.saperion.common.lang.conversion.primitive.NumberIntegerConverter<NumberType>
public class NumberIntegerConverter<NumberType extends Number>
extends Object
implements Converter<NumberType,Integer>
- Author:
- jschwarz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(NumberType number) Converts the specified object and returns the conversion result.
-
Constructor Details
-
NumberIntegerConverter
public NumberIntegerConverter()
-
-
Method Details
-
convert
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 Number,Integer> - Parameters:
number- object to convert- Returns:
- the converted object
-