java.lang.Object
org.litebridgedb.convert.converter.BigIntegerConverter
- All Implemented Interfaces:
Converter<BigInteger>,ConverterFunction<BigInteger>
A converter for
BigInteger values.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable BigIntegerConverts the given value to aBigInteger.Class<?> type()Returns the target Java class this converter handles.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.litebridgedb.convert.converter.Converter
primitiveType
-
Constructor Details
-
BigIntegerConverter
public BigIntegerConverter()
-
-
Method Details
-
convert
Converts the given value to aBigInteger.Supports various numeric types and string representation as fall-back.
- Specified by:
convertin interfaceConverterFunction<BigInteger>- Parameters:
value- the value to convert, may benull- Returns:
- the converted
BigInteger, ornull
-
type
Returns the target Java class this converter handles.- Specified by:
typein interfaceConverter<BigInteger>- Returns:
BigInteger.class
-