Package com.regnosys.rosetta.utils
Class Interval<T extends Number & Comparable<? super T>>
java.lang.Object
com.regnosys.rosetta.utils.Interval<T>
- Direct Known Subclasses:
BigDecimalInterval,IntegerInterval
A class representing an interval between two numbers.
The bounds are inclusive, an may be unbounded. The following forms are allowed:
- [min, max]
- ]-infinity, max]
- [min, +infinity[
- ]-infinity, +infinity[
-
Constructor Summary
Constructors -
Method Summary