Enum Constant and Description |
---|
BOOL |
BYTES |
CHAR |
DOUBLE |
INT |
LONG |
STRING |
Modifier and Type | Method and Description |
---|---|
static Type.Enum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Type.Enum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type.Enum BOOL
public static final Type.Enum CHAR
public static final Type.Enum INT
public static final Type.Enum LONG
public static final Type.Enum DOUBLE
public static final Type.Enum STRING
public static final Type.Enum BYTES
public static Type.Enum[] values()
for (Type.Enum c : Type.Enum.values()) System.out.println(c);
public static Type.Enum 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