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