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