private static enum StringFormat.ParseState extends java.lang.Enum<StringFormat.ParseState>
Enum Constant and Description |
---|
CHARACTER
Last character was a formatting spec like 'a', 'x', 'n'
|
DUPES
We are parsing a repeat number
|
ESCAPE
Next character is escaped character
|
FILL
Initial state
|
LPAREN
Last character was opening parenthesis.
|
Modifier and Type | Method and Description |
---|---|
static StringFormat.ParseState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StringFormat.ParseState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringFormat.ParseState FILL
public static final StringFormat.ParseState ESCAPE
public static final StringFormat.ParseState CHARACTER
public static final StringFormat.ParseState LPAREN
public static final StringFormat.ParseState DUPES
public static StringFormat.ParseState[] values()
for (StringFormat.ParseState c : StringFormat.ParseState.values()) System.out.println(c);
public static StringFormat.ParseState 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 null