Class Bounds

java.lang.Object
com.oss.metadata.Bounds
Direct Known Subclasses:
RangeList

public class Bounds extends Object
The Bounds class encapsulates information about bounds for bounded (constrained) types. This information is useful for PER.
Since:
ASN.1/Java 2.1
  • 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 long getLowerBound()
      Return the lower bound of the type.
      Returns:
      lower bound.
    • getUpperBound

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