Class BigIntegerConverter


public class BigIntegerConverter extends ZahlenConverter
The IntegerConverter can convert INTEGER value object to/from BigInteger value.
  • Field Details

  • Constructor Details

    • BigIntegerConverter

      public BigIntegerConverter()
  • Method Details

    • convert

      public void convert(Object object, Buffer buffer, org.asnlab.asndt.runtime.type.IntegerType type, org.asnlab.asndt.runtime.type.Codec codec)
      Overrides:
      convert in class ZahlenConverter
    • convert

      public Object convert(Buffer buffer, org.asnlab.asndt.runtime.type.IntegerType type, org.asnlab.asndt.runtime.type.Codec codec)
      Overrides:
      convert in class ZahlenConverter
    • toValue

      public BigInteger toValue(Object object)
      Return the BigInteger value
      Parameters:
      object - The INTEGER value object
      Returns:
      The BigInteger value
    • toObject

      public Object toObject(BigInteger value)
      Return the BigInteger value object
      Parameters:
      value - The BigInteger value
      Returns:
      The INTEGER value object