public static enum TestGroup.Order extends java.lang.Enum<TestGroup.Order> implements java.util.Comparator<TestGroup>
Enum Constant and Description |
---|
DURATION_ASC |
DURATION_DESC |
NAME_ASC |
NAME_DESC |
TESTS_ASC |
TESTS_DESC |
Modifier and Type | Method and Description |
---|---|
static TestGroup.Order |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TestGroup.Order[] |
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, valueOf
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final TestGroup.Order NAME_ASC
public static final TestGroup.Order NAME_DESC
public static final TestGroup.Order DURATION_ASC
public static final TestGroup.Order DURATION_DESC
public static final TestGroup.Order TESTS_ASC
public static final TestGroup.Order TESTS_DESC
public static TestGroup.Order[] values()
for (TestGroup.Order c : TestGroup.Order.values()) System.out.println(c);
public static TestGroup.Order 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 null