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