Class ConfDecimal64

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

public class ConfDecimal64 extends ConfInt64 implements Cloneable, Serializable
DATA_CONTAINER - Corresponds to the YANG decimal64 type.
See Also:
  • Constructor Details

    • ConfDecimal64

      public ConfDecimal64(long l, int fractionDigits)
    • ConfDecimal64

      public ConfDecimal64(BigInteger b, int fractionDigits)
    • ConfDecimal64

      public ConfDecimal64(ConfEObject o) throws ConfException
      Throws:
      ConfException
    • ConfDecimal64

      public ConfDecimal64(String str)
  • Method Details

    • doubleValue

      public double doubleValue()
    • intValue

      public long intValue()
    • getLongDataBackstore

      public long getLongDataBackstore()
    • getFractionDigits

      public int getFractionDigits()
    • equals

      public boolean equals(Object o)
      Description copied from class: ConfValue
      Determine if two ConfValue are equal. In general, ConfObjects are equal if the components they consist of are equal.
      Overrides:
      equals in class ConfInt64
      Parameters:
      o - The object to compare to.
      Returns:
      true if the objects are identical.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ConfInt64
    • toString

      public String toString()
      Overrides:
      toString in class ConfInt64
      Returns:
      the printable representation of the object.
    • encode

      public ConfEObject encode()
      Description copied from class: ConfValue
      encode value.
      Overrides:
      encode in class ConfInt64