Class HugeBounds

java.lang.Object
com.oss.metadata.HugeBounds
Direct Known Subclasses:
HugeRangeList

public class HugeBounds extends Object
The HugeBounds class encapsulates information about bounds for bounded (constrained) types. This is similar to Bounds, but uses java.math.BigInteger to store bounds value, so there is no limitation of Java "long" type. This information is useful for PER.
Since:
ASN.1/Java 4.0
  • Method Details

    • hasLowerBound

      public boolean hasLowerBound()
      Return whether the type has a lower bound.
      Returns:
      true if lower bound is finite.
    • hasUpperBound

      public boolean hasUpperBound()
      Return whether the type has an upper bound.
      Returns:
      true if upper bound is finite.
    • getLowerBound

      public BigInteger getLowerBound()
      Return the lower bound of the type.
      Returns:
      lower bound.
    • getUpperBound

      public BigInteger getUpperBound()
      Return the upper bound of the type.
      Returns:
      upper bound.