Class BigIntegerToBigInteger


  • public class BigIntegerToBigInteger
    extends Conversion<java.math.BigInteger,​java.math.BigInteger>
    A default Integrity conversion. This conversion actually doesn't convert anything - it exists solely to keep BigInteger as BigInteger by default.
    Author:
    Rene Schneider - initial API and implementation
    • Constructor Detail

      • BigIntegerToBigInteger

        public BigIntegerToBigInteger()
    • Method Detail

      • convert

        public java.math.BigInteger convert​(java.math.BigInteger aSource,
                                            java.lang.Class<? extends java.math.BigInteger> aTargetType,
                                            ConversionContext aConversionContext)
                                     throws ConversionFailedException
        Description copied from class: Conversion
        Performs the conversion.
        Specified by:
        convert in class Conversion<java.math.BigInteger,​java.math.BigInteger>
        Parameters:
        aSource - the source object to convert
        aTargetType - TODO
        aConversionContext - controls some conversion parameters and rules; may be null if the default ConversionContext values shall be used
        Returns:
        the converted object
        Throws:
        ConversionFailedException - in case of conversion errors