public enum SortOrderEnum extends Enum<SortOrderEnum> implements JREnum
| Enum Constant and Description |
|---|
ASCENDING
Ascending order constant.
|
DESCENDING
Descending order constant.
|
| Modifier and Type | Method and Description |
|---|---|
static SortOrderEnum |
getByName(String name) |
static SortOrderEnum |
getByValue(byte value) |
static SortOrderEnum |
getByValue(Byte value) |
String |
getName() |
byte |
getValue() |
Byte |
getValueByte() |
static SortOrderEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortOrderEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortOrderEnum ASCENDING
public static final SortOrderEnum DESCENDING
public static SortOrderEnum[] values()
for (SortOrderEnum c : SortOrderEnum.values()) System.out.println(c);
public static SortOrderEnum 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 Byte getValueByte()
getValueByte in interface JREnumpublic static SortOrderEnum getByName(String name)
public static SortOrderEnum getByValue(Byte value)
public static SortOrderEnum getByValue(byte value)
Copyright © 2014. All rights reserved.