public enum MorseLetter extends java.lang.Enum<MorseLetter>
Enum Constant and Description |
---|
A |
B |
C |
D |
E |
F |
G |
H |
I |
J |
K |
L |
M |
N |
O |
P |
Q |
R |
S |
SP |
T |
U |
V |
W |
X |
Y |
Z |
Modifier and Type | Method and Description |
---|---|
static MorseLetter |
getMorseLetter(char c) |
MorseSymbol[] |
getSymbols() |
static MorseLetter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MorseLetter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MorseLetter A
public static final MorseLetter B
public static final MorseLetter C
public static final MorseLetter D
public static final MorseLetter E
public static final MorseLetter F
public static final MorseLetter G
public static final MorseLetter H
public static final MorseLetter I
public static final MorseLetter J
public static final MorseLetter K
public static final MorseLetter L
public static final MorseLetter M
public static final MorseLetter N
public static final MorseLetter O
public static final MorseLetter P
public static final MorseLetter Q
public static final MorseLetter R
public static final MorseLetter S
public static final MorseLetter T
public static final MorseLetter U
public static final MorseLetter V
public static final MorseLetter W
public static final MorseLetter X
public static final MorseLetter Y
public static final MorseLetter Z
public static final MorseLetter SP
public static MorseLetter[] values()
for (MorseLetter c : MorseLetter.values()) System.out.println(c);
public static MorseLetter valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic MorseSymbol[] getSymbols()
public static MorseLetter getMorseLetter(char c)