public enum OrderEnum extends Enum<OrderEnum>
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static OrderEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrderEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public final String value
public static OrderEnum[] values()
for (OrderEnum c : OrderEnum.values()) System.out.println(c);
public static OrderEnum 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 String getValue()
Copyright © 2016 jufeng. All rights reserved.