public static enum Alignment.AlignmentOrdering extends java.lang.Enum<Alignment.AlignmentOrdering> implements java.util.Comparator<Alignment>
| Enum Constant and Description |
|---|
FITNESS_ASC |
FITNESS_DESC |
LENGTH_ASC |
LENGTH_DESC |
NAME_ASC |
NAME_DESC |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static Alignment.AlignmentOrdering |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Alignment.AlignmentOrdering[] |
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, valueOfcompare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final Alignment.AlignmentOrdering FITNESS_ASC
public static final Alignment.AlignmentOrdering FITNESS_DESC
public static final Alignment.AlignmentOrdering LENGTH_ASC
public static final Alignment.AlignmentOrdering LENGTH_DESC
public static final Alignment.AlignmentOrdering NAME_ASC
public static final Alignment.AlignmentOrdering NAME_DESC
public static Alignment.AlignmentOrdering[] values()
for (Alignment.AlignmentOrdering c : Alignment.AlignmentOrdering.values()) System.out.println(c);
public static Alignment.AlignmentOrdering 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 java.lang.String toString()
toString in class java.lang.Enum<Alignment.AlignmentOrdering>