public enum OrderingMode extends Enum<OrderingMode>
| Enum Constant and Description |
|---|
ASCENDING |
DESCENDING |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReverse() |
OrderingMode |
reverse() |
static OrderingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrderingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderingMode DESCENDING
public static final OrderingMode ASCENDING
public static OrderingMode[] values()
for (OrderingMode c : OrderingMode.values()) System.out.println(c);
public static OrderingMode 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 OrderingMode reverse()
public boolean isReverse()
Copyright © 2012-2014. All Rights Reserved.