public static enum FormatMarker.Kind extends java.lang.Enum<FormatMarker.Kind>
FormatMarker.Kind
enumeration describes supported types of format markers.Enum Constant and Description |
---|
BIN
Marker %b.
|
DEC
Marker %d.
|
HEX
Marker %x.
|
STR
Marker %s.
|
Modifier and Type | Method and Description |
---|---|
static FormatMarker.Kind |
fromLetter(char letter)
Returns the marker kind that correspond to the specified letter.
|
char |
getLetter()
Returns the letter identifying the marker.
|
static FormatMarker.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FormatMarker.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormatMarker.Kind DEC
public static final FormatMarker.Kind BIN
public static final FormatMarker.Kind HEX
public static final FormatMarker.Kind STR
BIN
.public static FormatMarker.Kind[] values()
for (FormatMarker.Kind c : FormatMarker.Kind.values()) System.out.println(c);
public static FormatMarker.Kind 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 char getLetter()
public static FormatMarker.Kind fromLetter(char letter)
letter
- Marker letter.null
if there no such marker is supported.