Class BigIntegerConversionProcessor
- java.lang.Object
-
- com.hotels.beans.conversion.processor.impl.BigIntegerConversionProcessor
-
- All Implemented Interfaces:
ConversionProcessor<BigInteger>
public final class BigIntegerConversionProcessor extends Object implements ConversionProcessor<BigInteger>
Provides all method for converting any primitive type to aBigInteger
.
-
-
Constructor Summary
Constructors Constructor Description BigIntegerConversionProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Function<BigDecimal,BigInteger>
convertBigDecimal()
Converts anBigDecimal
type.Function<BigInteger,BigInteger>
convertBigInteger()
Converts anBigInteger
type.Function<Boolean,BigInteger>
convertBoolean()
Converts aBoolean
type.Function<Byte,BigInteger>
convertByte()
Converts aByte
type.Function<byte[],BigInteger>
convertByteArray()
Converts a byte[] type.Function<Character,BigInteger>
convertCharacter()
Converts aCharacter
type.Function<Double,BigInteger>
convertDouble()
Converts aDouble
type.Function<Float,BigInteger>
convertFloat()
Converts anFloat
type.Function<Integer,BigInteger>
convertInteger()
Converts anInteger
type.Function<Long,BigInteger>
convertLong()
Converts aLong
type.Function<Short,BigInteger>
convertShort()
Converts aShort
type.Function<String,BigInteger>
convertString()
Converts aString
type.
-
-
-
Method Detail
-
convertByte
public Function<Byte,BigInteger> convertByte()
Converts aByte
type.- Specified by:
convertByte
in interfaceConversionProcessor<BigInteger>
- Returns:
- the converted value
-
convertByteArray
public Function<byte[],BigInteger> convertByteArray()
Converts a byte[] type.- Specified by:
convertByteArray
in interfaceConversionProcessor<BigInteger>
- Returns:
- the converted value
-
convertShort
public Function<Short,BigInteger> convertShort()
Converts aShort
type.- Specified by:
convertShort
in interfaceConversionProcessor<BigInteger>
- Returns:
- the converted value
-
convertInteger
public Function<Integer,BigInteger> convertInteger()
Converts anInteger
type.- Specified by:
convertInteger
in interfaceConversionProcessor<BigInteger>
- Returns:
- the converted value
-
convertLong
public Function<Long,BigInteger> convertLong()
Converts aLong
type.- Specified by:
convertLong
in interfaceConversionProcessor<BigInteger>
- Returns:
- the converted value
-
convertFloat
public Function<Float,BigInteger> convertFloat()
Converts anFloat
type.- Specified by:
convertFloat
in interfaceConversionProcessor<BigInteger>
- Returns:
- the converted value
-
convertDouble
public Function<Double,BigInteger> convertDouble()
Converts aDouble
type.- Specified by:
convertDouble
in interfaceConversionProcessor<BigInteger>
- Returns:
- the converted value
-
convertCharacter
public Function<Character,BigInteger> convertCharacter()
Converts aCharacter
type.- Specified by:
convertCharacter
in interfaceConversionProcessor<BigInteger>
- Returns:
- the converted value
-
convertBoolean
public Function<Boolean,BigInteger> convertBoolean()
Converts aBoolean
type.- Specified by:
convertBoolean
in interfaceConversionProcessor<BigInteger>
- Returns:
- the converted value
-
convertString
public Function<String,BigInteger> convertString()
Converts aString
type.- Specified by:
convertString
in interfaceConversionProcessor<BigInteger>
- Returns:
- the converted value
-
convertBigInteger
public Function<BigInteger,BigInteger> convertBigInteger()
Converts anBigInteger
type.- Specified by:
convertBigInteger
in interfaceConversionProcessor<BigInteger>
- Returns:
- the converted value
-
convertBigDecimal
public Function<BigDecimal,BigInteger> convertBigDecimal()
Converts anBigDecimal
type.- Specified by:
convertBigDecimal
in interfaceConversionProcessor<BigInteger>
- Returns:
- the converted value
-
-