public class LongComparators
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static LongComparator |
NATURAL_COMPARATOR |
static LongComparator |
OPPOSITE_COMPARATOR |
| Modifier and Type | Method and Description |
|---|---|
static LongComparator |
oppositeComparator(LongComparator c)
Returns a comparator representing the opposite order of the given comparator.
|
public static final LongComparator NATURAL_COMPARATOR
public static final LongComparator OPPOSITE_COMPARATOR
public static LongComparator oppositeComparator(LongComparator c)
c - a comparator.c.