Package com.oss.metadata
Class HugeBounds
java.lang.Object
com.oss.metadata.HugeBounds
- Direct Known Subclasses:
HugeRangeList
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 Summary
Modifier and TypeMethodDescriptionReturn the lower bound of the type.Return the upper bound of the type.boolean
Return whether the type has a lower bound.boolean
Return whether the type has an upper bound.
-
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
Return the lower bound of the type.- Returns:
- lower bound.
-
getUpperBound
Return the upper bound of the type.- Returns:
- upper bound.
-