public enum Separator extends java.lang.Enum<Separator> implements Token
Separator
denotes the nonterminal symbol Separator, as defined by the Java Language Specification.
If the Java Language Specification is updated in a way that affects any separators, this enum may be updated to reflect those changes. This means that new elements could be added. This happened between Java 7 and Java 8.
Enum Constant and Description |
---|
AT
A
Separator with a String representation that equals the String literal "@" . |
COMMA
A
Separator with a String representation that equals the String literal "," . |
CURLY_BRACKET_LEFT
A
Separator with a String representation that equals the String literal "{" . |
CURLY_BRACKET_RIGHT
A
Separator with a String representation that equals the String literal "}" . |
DOUBLE_COLON
A
Separator with a String representation that equals the String literal "::" . |
PARENTHESIS_LEFT
A
Separator with a String representation that equals the String literal "(" . |
PARENTHESIS_RIGHT
A
Separator with a String representation that equals the String literal ")" . |
PERIOD
A
Separator with a String representation that equals the String literal "." . |
SEMICOLON
A
Separator with a String representation that equals the String literal ";" . |
SQUARE_BRACKET_LEFT
A
Separator with a String representation that equals the String literal "[" . |
SQUARE_BRACKET_RIGHT
A
Separator with a String representation that equals the String literal "]" . |
TRIPPLE_PERIOD
A
Separator with a String representation that equals the String literal "..." . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns a
String representation of this Separator instance. |
static Separator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Separator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Separator AT
Separator
with a String
representation that equals the String
literal "@"
.public static final Separator COMMA
Separator
with a String
representation that equals the String
literal ","
.public static final Separator CURLY_BRACKET_LEFT
Separator
with a String
representation that equals the String
literal "{"
.public static final Separator CURLY_BRACKET_RIGHT
Separator
with a String
representation that equals the String
literal "}"
.public static final Separator DOUBLE_COLON
Separator
with a String
representation that equals the String
literal "::"
.public static final Separator PARENTHESIS_LEFT
Separator
with a String
representation that equals the String
literal "("
.public static final Separator PARENTHESIS_RIGHT
Separator
with a String
representation that equals the String
literal ")"
.public static final Separator PERIOD
Separator
with a String
representation that equals the String
literal "."
.public static final Separator SEMICOLON
Separator
with a String
representation that equals the String
literal ";"
.public static final Separator SQUARE_BRACKET_LEFT
Separator
with a String
representation that equals the String
literal "["
.public static final Separator SQUARE_BRACKET_RIGHT
Separator
with a String
representation that equals the String
literal "]"
.public static final Separator TRIPPLE_PERIOD
Separator
with a String
representation that equals the String
literal "..."
.public static Separator[] values()
for (Separator c : Separator.values()) System.out.println(c);
public static Separator 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 java.lang.String toString()
String
representation of this Separator
instance.toString
in class java.lang.Enum<Separator>
String
representation of this Separator
instance