public enum LuaType extends Enum<LuaType>
Enum Constant and Description |
---|
BOOLEAN
Boolean.
|
FUNCTION
Function.
|
LIGHTUSERDATA
Light user data (pointer).
|
NIL
Nil.
|
NUMBER
Number.
|
STRING
String.
|
TABLE
Table.
|
THREAD
Thread.
|
USERDATA
User data.
|
Modifier and Type | Method and Description |
---|---|
String |
displayText()
Returns the display text of this Lua type.
|
static LuaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LuaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LuaType NIL
public static final LuaType BOOLEAN
public static final LuaType LIGHTUSERDATA
public static final LuaType NUMBER
public static final LuaType STRING
public static final LuaType TABLE
public static final LuaType FUNCTION
public static final LuaType USERDATA
public static final LuaType THREAD
public static LuaType[] values()
for (LuaType c : LuaType.values()) System.out.println(c);
public static LuaType 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 displayText()