protected static enum HashCodeAndEqualsPlugin.AnnotationOrderComparator extends Enum<HashCodeAndEqualsPlugin.AnnotationOrderComparator> implements Comparator<FieldDescription.InDefinedShape>
HashCodeAndEqualsPlugin.Sorted.| Enum Constant and Description | 
|---|
| INSTANCEThe singleton instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compare(FieldDescription.InDefinedShape left,
       FieldDescription.InDefinedShape right) | 
| static HashCodeAndEqualsPlugin.AnnotationOrderComparator | valueOf(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. | 
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic 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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int compare(FieldDescription.InDefinedShape left, FieldDescription.InDefinedShape right)
compare in interface Comparator<FieldDescription.InDefinedShape>Copyright © 2014–2024. All rights reserved.