Additional top-level class in compilation unit: NaturalComparator.
Comparator related functions (not intended to be public).
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static < The type U> Comparator | Returns: The natural Comparator of type UReturns the natural comparator for type U, i.e. treating it as |
| Comparators | back to summary |
|---|---|
| private Comparators() | |
| naturalComparator | back to summary |
|---|---|
| pack-priv static <U> Comparator Returns the natural comparator for type U, i.e. treating it as Please note that this will lead to runtime exceptions, if U is not Comparable.
| |