Gets the comparator being used to determine if objects are within the range. Natural ordering uses an internal comparator implementation, thus this method never returns null. See #isNaturalOrdering(). @return the comparator being used, not null.
()
| 365 | * @return the comparator being used, not null. |
| 366 | */ |
| 367 | public Comparator<T> getComparator() { |
| 368 | return comparator; |
| 369 | } |
| 370 | |
| 371 | /** |
| 372 | * Gets the maximum value in this range. |
no outgoing calls