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