Class UInt64

All Implemented Interfaces:
Serializable, Comparable<BigInteger>

public class UInt64 extends BigInteger
The UnsignedInt64 class represents an unsigned 64-bit number
Author:
Sharad Singhal
See Also:
  • Field Details

    • MAX_VALUE

      public static final BigInteger MAX_VALUE
      maximum dataValue possible for the unsigned integer
    • MIN_VALUE

      public static final BigInteger MIN_VALUE
      minimum dataValue possible for the unsigned integer
  • Constructor Details

    • UInt64

      public UInt64(String val)
      Create an unsigned 64 number from a string
      Parameters:
      val - - input string containing integer dataValue 0 < val < 2^64
    • UInt64

      public UInt64(long val)
  • Method Details

    • equals

      public boolean equals(Object o)
      Compares this unsigned 64-bit integer object with the specified object for equality
      Overrides:
      equals in class BigInteger
      Parameters:
      o - the object to compare
      Returns:
      true if the specified object is an unsigned 64-bit integer equals to this integer Otherwise, false.