Class ConfBit64

All Implemented Interfaces:
Serializable, Cloneable, Comparable<ConfBits>

public class ConfBit64 extends ConfBits implements Cloneable, Serializable
DATA_CONTAINER - Corresponds to the YANG bit64 type. A bitset with no bit position higher that 63
See Also:
  • Constructor Details

    • ConfBit64

      public ConfBit64(long l)
      Construct a Confbit64 value from a long representing the bits
      Parameters:
      l -
    • ConfBit64

      public ConfBit64(BigInteger bigint)
      Construct a ConfBit64 value from a BigInteger representing the bits
      Parameters:
      bigint -
    • ConfBit64

      public ConfBit64(byte[] val)
      Construct a ConfBit64 value from a byte array with the bytes in little endian order
      Parameters:
      val -
    • ConfBit64

      public ConfBit64(String str) throws ConfException
      String constructor for ConfBit64. The string representation is expected to be 'bin<0x...>' with the hexadecimal representation of the bitset in little endian order.
      Parameters:
      str -
      Throws:
      ConfException
  • Method Details

    • equals

      public boolean equals(Object o)
      Equals method for ConfBit64
      Overrides:
      equals in class ConfBits
      Parameters:
      o - The object to compare to.
      Returns:
      true if the objects are identical.
    • hashCode

      public int hashCode()
      hashCode method for ConfBit64
      Overrides:
      hashCode in class ConfBits
    • bigValue

      public BigInteger bigValue()
      Return a BigInteger representing this bitset.
      Returns:
      BigInteger