Class UInt16

java.lang.Object
java.lang.Number
net.aifusion.metamodel.UInt16
All Implemented Interfaces:
Serializable

public class UInt16 extends Number implements Serializable
Class to represent an unsigned 16-bit integer
Author:
Sharad Singhal
See Also:
  • Field Details

    • MAX_VALUE

      public static final int MAX_VALUE
      maximum dataValue possible for the unsigned integer
      See Also:
    • MIN_VALUE

      public static final int MIN_VALUE
      minimum dataValue possible for the unsigned integer
      See Also:
  • Constructor Details

    • UInt16

      public UInt16(String val)
      Create an unsigned 16-bit integer from a string dataValue
      Parameters:
      val - - string containing unsigned 16-bit integer
    • UInt16

      public UInt16(int i)
      Create an unsigned 16-bit integer from an integer dataValue
      Parameters:
      i - - integer dataValue containing 16 bit integer
  • Method Details