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)
Deprecated.
Used only by deprecated serialized fields.
|
static SortOrderEnum |
getByValue(Byte value)
Deprecated.
Used only by deprecated serialized fields.
|
String |
getName() |
byte |
getValue()
Deprecated.
Used only by deprecated serialized fields.
|
Byte |
getValueByte()
Deprecated.
Used only by deprecated serialized fields.
|
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 JREnum
public final byte getValue()
public static SortOrderEnum getByName(String name)
public static SortOrderEnum getByValue(Byte value)
public static SortOrderEnum getByValue(byte value)
Copyright © 2017. All rights reserved.