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