Package com.gengoai.conversion
Class LongTypeConverter
- java.lang.Object
-
- com.gengoai.conversion.BaseNumberTypeConverter
-
- com.gengoai.conversion.LongTypeConverter
-
- All Implemented Interfaces:
TypeConverter
@MetaInfServices(TypeConverter.class) public class LongTypeConverter extends BaseNumberTypeConverter
Converts object into Long (seeBaseNumberTypeConverter
for details on conversion.- Author:
- David B. Bracewell
-
-
Constructor Summary
Constructors Constructor Description LongTypeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
convertNumber(Number number)
Class[]
getConversionType()
Array of classes that this type converter can convert objects to-
Methods inherited from class com.gengoai.conversion.BaseNumberTypeConverter
convert
-
-
-
-
Method Detail
-
convertNumber
protected Object convertNumber(Number number)
- Specified by:
convertNumber
in classBaseNumberTypeConverter
-
getConversionType
public Class[] getConversionType()
Description copied from interface:TypeConverter
Array of classes that this type converter can convert objects to- Returns:
- the classes that this converter can convert to
-
-