public class FloatComparators
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static FloatComparator |
NATURAL_COMPARATOR
A type-specific comparator mimicking the natural order.
|
static FloatComparator |
OPPOSITE_COMPARATOR
A type-specific comparator mimicking the opposite of the natural order.
|
Modifier and Type | Method and Description |
---|---|
static FloatComparator |
oppositeComparator(FloatComparator c)
Returns a comparator representing the opposite order of the given comparator.
|
public static final FloatComparator NATURAL_COMPARATOR
public static final FloatComparator OPPOSITE_COMPARATOR
public static FloatComparator oppositeComparator(FloatComparator c)
c
- a comparator.c
.