public enum CompareOrder extends Enum<CompareOrder>
CompareOrder.| Enum Constant and Description |
|---|
AFTER
The order to sort an object after.
|
BEFORE
The order to sort an object before.
|
EQUAL
The order to sort an object as equal.
|
| Modifier and Type | Method and Description |
|---|---|
static CompareOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompareOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompareOrder BEFORE
public static final CompareOrder EQUAL
public static final CompareOrder AFTER
public static CompareOrder[] values()
for (CompareOrder c : CompareOrder.values()) System.out.println(c);
public static CompareOrder 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 nullCopyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.