private static enum Doubles.LexicographicalComparator extends java.lang.Enum<Doubles.LexicographicalComparator> implements java.util.Comparator<double[]>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
int |
compare(double[] left,
double[] right) |
static Doubles.LexicographicalComparator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Doubles.LexicographicalComparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Doubles.LexicographicalComparator INSTANCE
public static Doubles.LexicographicalComparator[] values()
for (Doubles.LexicographicalComparator c : Doubles.LexicographicalComparator.values()) System.out.println(c);
public static Doubles.LexicographicalComparator valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int compare(double[] left, double[] right)
compare
in interface java.util.Comparator<double[]>