public static enum Branch.CreditHistoryOrder extends java.lang.Enum<Branch.CreditHistoryOrder>
enum containing the sort options for return of credit history.
Enum Constant and Description |
---|
kLeastRecentFirst |
kMostRecentFirst |
Modifier and Type | Method and Description |
---|---|
static Branch.CreditHistoryOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Branch.CreditHistoryOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Branch.CreditHistoryOrder kMostRecentFirst
public static final Branch.CreditHistoryOrder kLeastRecentFirst
public static Branch.CreditHistoryOrder[] values()
for (Branch.CreditHistoryOrder c : Branch.CreditHistoryOrder.values()) System.out.println(c);
public static Branch.CreditHistoryOrder 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