T - the data type.public final class ClosedInterval<T>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private T |
_max
The interval maximum.
|
private T |
_min
The interval minimum.
|
| Constructor and Description |
|---|
ClosedInterval(T min,
T max)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getMax()
Returns the interval maximum.
|
T |
getMin()
Returns the interval minimum.
|