T items that represent a range of values.
Comparable.| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the value is within the rangeChecks whether the given |
| public T | Returns: the maximum valueRedeclares tech. Returns the largest value of the range. |
| public T | Returns: the minimum valueRedeclares tech. Returns the smallest value of the range. |
| public T | Returns: resolution of the range, the value is the same as that given as the constructor parameter for the resolutionReturns the resolution of the range. |
| public boolean | |
| public boolean |
| contains | back to summary |
|---|---|
| public boolean contains(T t) Checks whether the given
| |
| getMaximum | back to summary |
|---|---|
| public T getMaximum() Redeclares tech. Returns the largest value of the range. The value is the same as that given as the constructor parameter for the largest value.
| |
| getMinimum | back to summary |
|---|---|
| public T getMinimum() Redeclares tech. Returns the smallest value of the range. The value is the same as that given as the constructor parameter for the smallest value.
| |
| getResolution | back to summary |
|---|---|
| public T getResolution() Returns the resolution of the range. The value is the same as that given as the constructor parameter for the largest value.
| |
| hasMaximum | back to summary |
|---|---|
| public boolean hasMaximum() Method to easily check if
| |
| hasMinimum | back to summary |
|---|---|
| public boolean hasMinimum() Method to easily check if
| |