private static enum Floats.LexicographicalComparator extends java.lang.Enum<Floats.LexicographicalComparator> implements java.util.Comparator<float[]>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
int |
compare(float[] left,
float[] right) |
static Floats.LexicographicalComparator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Floats.LexicographicalComparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Floats.LexicographicalComparator INSTANCE
public static Floats.LexicographicalComparator[] values()
for (Floats.LexicographicalComparator c : Floats.LexicographicalComparator.values()) System.out.println(c);
public static Floats.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(float[] left, float[] right)
compare
in interface java.util.Comparator<float[]>