public enum MojangsonToken extends Enum<MojangsonToken>
Enum Constant and Description |
---|
ARRAY_END |
ARRAY_START |
BYTE_SUFFIX |
COMPOUND_END |
COMPOUND_START |
DOUBLE_SUFFIX |
ELEMENT_PAIR_SEPERATOR |
ELEMENT_SEPERATOR |
FLOAT_SUFFIX |
LONG_SUFFIX |
SHORT_SUFFIX |
STRING_QUOTES |
WHITE_SPACE |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
String |
getName() |
char |
getSymbol() |
String |
toString() |
static MojangsonToken |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MojangsonToken[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MojangsonToken COMPOUND_START
public static final MojangsonToken COMPOUND_END
public static final MojangsonToken ELEMENT_SEPERATOR
public static final MojangsonToken ARRAY_START
public static final MojangsonToken ARRAY_END
public static final MojangsonToken ELEMENT_PAIR_SEPERATOR
public static final MojangsonToken STRING_QUOTES
public static final MojangsonToken DOUBLE_SUFFIX
public static final MojangsonToken BYTE_SUFFIX
public static final MojangsonToken FLOAT_SUFFIX
public static final MojangsonToken SHORT_SUFFIX
public static final MojangsonToken LONG_SUFFIX
public static final MojangsonToken WHITE_SPACE
public static MojangsonToken[] values()
for (MojangsonToken c : MojangsonToken.values()) System.out.println(c);
public static MojangsonToken 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 toString()
toString
in class Enum<MojangsonToken>
public int getId()
public String getName()
public char getSymbol()
Copyright © 2021. All rights reserved.