protected static enum EqualsMethod.NaturalOrderComparator extends Enum<EqualsMethod.NaturalOrderComparator> implements Comparator<FieldDescription.InDefinedShape>
| Enum Constant and Description | 
|---|
| INSTANCEThe singleton instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compare(FieldDescription.InDefinedShape left,
       FieldDescription.InDefinedShape right) | 
| static EqualsMethod.NaturalOrderComparator | valueOf(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. | 
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 EqualsMethod.NaturalOrderComparator INSTANCE
public static EqualsMethod.NaturalOrderComparator[] values()
for (EqualsMethod.NaturalOrderComparator c : EqualsMethod.NaturalOrderComparator.values()) System.out.println(c);
public static EqualsMethod.NaturalOrderComparator 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.