Class BigIntegerConversionProcessor
- java.lang.Object
-
- com.expediagroup.beans.conversion.processor.impl.BigIntegerConversionProcessor
-
- All Implemented Interfaces:
ConversionProcessor<java.math.BigInteger>
public final class BigIntegerConversionProcessor extends java.lang.Object implements ConversionProcessor<java.math.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 java.util.function.Function<java.math.BigDecimal,java.math.BigInteger>
convertBigDecimal()
Converts anBigDecimal
type.java.util.function.Function<java.math.BigInteger,java.math.BigInteger>
convertBigInteger()
Converts anBigInteger
type.java.util.function.Function<java.lang.Boolean,java.math.BigInteger>
convertBoolean()
Converts aBoolean
type.java.util.function.Function<java.lang.Byte,java.math.BigInteger>
convertByte()
Converts aByte
type.java.util.function.Function<byte[],java.math.BigInteger>
convertByteArray()
Converts a byte[] type.java.util.function.Function<java.lang.Character,java.math.BigInteger>
convertCharacter()
Converts aCharacter
type.java.util.function.Function<java.lang.Double,java.math.BigInteger>
convertDouble()
Converts aDouble
type.java.util.function.Function<java.lang.Float,java.math.BigInteger>
convertFloat()
Converts anFloat
type.java.util.function.Function<java.lang.Integer,java.math.BigInteger>
convertInteger()
Converts anInteger
type.java.util.function.Function<java.lang.Long,java.math.BigInteger>
convertLong()
Converts aLong
type.java.util.function.Function<java.lang.Short,java.math.BigInteger>
convertShort()
Converts aShort
type.java.util.function.Function<java.lang.String,java.math.BigInteger>
convertString()
Converts aString
type.
-
-
-
Method Detail
-
convertByte
public java.util.function.Function<java.lang.Byte,java.math.BigInteger> convertByte()
Converts aByte
type.- Specified by:
convertByte
in interfaceConversionProcessor<java.math.BigInteger>
- Returns:
- the converted value
-
convertByteArray
public java.util.function.Function<byte[],java.math.BigInteger> convertByteArray()
Converts a byte[] type.- Specified by:
convertByteArray
in interfaceConversionProcessor<java.math.BigInteger>
- Returns:
- the converted value
-
convertShort
public java.util.function.Function<java.lang.Short,java.math.BigInteger> convertShort()
Converts aShort
type.- Specified by:
convertShort
in interfaceConversionProcessor<java.math.BigInteger>
- Returns:
- the converted value
-
convertInteger
public java.util.function.Function<java.lang.Integer,java.math.BigInteger> convertInteger()
Converts anInteger
type.- Specified by:
convertInteger
in interfaceConversionProcessor<java.math.BigInteger>
- Returns:
- the converted value
-
convertLong
public java.util.function.Function<java.lang.Long,java.math.BigInteger> convertLong()
Converts aLong
type.- Specified by:
convertLong
in interfaceConversionProcessor<java.math.BigInteger>
- Returns:
- the converted value
-
convertFloat
public java.util.function.Function<java.lang.Float,java.math.BigInteger> convertFloat()
Converts anFloat
type.- Specified by:
convertFloat
in interfaceConversionProcessor<java.math.BigInteger>
- Returns:
- the converted value
-
convertDouble
public java.util.function.Function<java.lang.Double,java.math.BigInteger> convertDouble()
Converts aDouble
type.- Specified by:
convertDouble
in interfaceConversionProcessor<java.math.BigInteger>
- Returns:
- the converted value
-
convertCharacter
public java.util.function.Function<java.lang.Character,java.math.BigInteger> convertCharacter()
Converts aCharacter
type.- Specified by:
convertCharacter
in interfaceConversionProcessor<java.math.BigInteger>
- Returns:
- the converted value
-
convertBoolean
public java.util.function.Function<java.lang.Boolean,java.math.BigInteger> convertBoolean()
Converts aBoolean
type.- Specified by:
convertBoolean
in interfaceConversionProcessor<java.math.BigInteger>
- Returns:
- the converted value
-
convertString
public java.util.function.Function<java.lang.String,java.math.BigInteger> convertString()
Converts aString
type.- Specified by:
convertString
in interfaceConversionProcessor<java.math.BigInteger>
- Returns:
- the converted value
-
convertBigInteger
public java.util.function.Function<java.math.BigInteger,java.math.BigInteger> convertBigInteger()
Converts anBigInteger
type.- Specified by:
convertBigInteger
in interfaceConversionProcessor<java.math.BigInteger>
- Returns:
- the converted value
-
convertBigDecimal
public java.util.function.Function<java.math.BigDecimal,java.math.BigInteger> convertBigDecimal()
Converts anBigDecimal
type.- Specified by:
convertBigDecimal
in interfaceConversionProcessor<java.math.BigInteger>
- Returns:
- the converted value
-
-