Range for Numbers.
We only offer specializations for Integer, Long, and Double (like Java Streams).
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | NumberRange(final N
the first element, not null number1, final N the second element, not null number2, final Comparator<N> the comparator to be used, null for natural ordering comp)Creates an instance. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| NumberRange | back to summary |
|---|---|
| public NumberRange(final N number1, final N number2, final Comparator<N> comp) Creates an instance.
| |