public enum Alphabet extends Enum<Alphabet>
| Enum Constant and Description |
|---|
A |
B |
C |
D |
E |
F |
G |
H |
I |
J |
K |
L |
M |
N |
O |
P |
Q |
R |
S |
T |
U |
V |
W |
X |
Y |
Z |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
int |
getValue() |
static Alphabet |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Alphabet[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alphabet A
public static final Alphabet B
public static final Alphabet C
public static final Alphabet D
public static final Alphabet E
public static final Alphabet F
public static final Alphabet G
public static final Alphabet H
public static final Alphabet I
public static final Alphabet J
public static final Alphabet K
public static final Alphabet L
public static final Alphabet M
public static final Alphabet N
public static final Alphabet O
public static final Alphabet P
public static final Alphabet Q
public static final Alphabet R
public static final Alphabet S
public static final Alphabet T
public static final Alphabet U
public static final Alphabet V
public static final Alphabet W
public static final Alphabet X
public static final Alphabet Y
public static final Alphabet Z
public static Alphabet[] values()
for (Alphabet c : Alphabet.values()) System.out.println(c);
public static Alphabet 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 getKey()
public int getValue()
Copyright © 2014. All rights reserved.