Class LongConverter


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

  • Constructor Details

    • LongConverter

      public LongConverter()
  • 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 long toValue(Object object)
      Return the long value
      Parameters:
      object - The INTEGER value object
      Returns:
      The long value
    • toObject

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