public static enum Literal.Type extends Enum<Literal.Type>
| Enum Constant and Description |
|---|
BOOLEAN |
CHARACTER |
FLOATING_POINT |
INTEGER |
NULL |
STRING |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Literal.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Literal.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Literal.Type BOOLEAN
public static final Literal.Type CHARACTER
public static final Literal.Type FLOATING_POINT
public static final Literal.Type INTEGER
public static final Literal.Type NULL
public static final Literal.Type STRING
public static Literal.Type[] values()
for (Literal.Type c : Literal.Type.values()) System.out.println(c);
public static Literal.Type 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<Literal.Type>Copyright © 2013. All rights reserved.