|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.luaj.vm.LValue
org.luaj.vm.LNil
public final class LNil
| Field Summary | |
|---|---|
static LNil |
NIL
|
| Fields inherited from class org.luaj.vm.LValue |
|---|
TM_INDEX, TM_METATABLE, TM_MODE, TM_NEWINDEX |
| Constructor Summary | |
|---|---|
LNil()
|
|
| Method Summary | |
|---|---|
boolean |
isNil()
Return true if this value is LNil.NIL, false otherwise |
LString |
luaAsString()
Get the value as a LString |
int |
luaGetType()
Valid for all types: return the int value identifying the type of this value |
boolean |
toJavaBoolean()
Return value as a boolean |
java.lang.Byte |
toJavaBoxedByte()
Convert to a Byte value |
java.lang.Character |
toJavaBoxedCharacter()
Convert to a boxed Character value |
java.lang.Double |
toJavaBoxedDouble()
Convert to a boxed Double value |
java.lang.Float |
toJavaBoxedFloat()
Convert to a boxed Float value |
java.lang.Integer |
toJavaBoxedInteger()
Convert to a boxed Integer value |
java.lang.Long |
toJavaBoxedLong()
Convert to a boxed Long value |
java.lang.Short |
toJavaBoxedShort()
Convert to a boxed Short value |
int |
toJavaInt()
Return value as an integer |
java.lang.String |
toJavaString()
Convert to a Java String |
| Methods inherited from class org.luaj.vm.LValue |
|---|
compareError, conversionError, id, isClosure, isFunction, isInteger, isNumber, isString, isTable, isUserData, luaBinCmpDouble, luaBinCmpInteger, luaBinCmpString, luaBinCmpUnknown, luaBinOpDouble, luaBinOpInteger, luaBinOpUnknown, luaConcatTo, luaGetEnv, luaGetMetatable, luaGetTable, luaGetTypeName, luaLength, luaSetEnv, luaSetMetatable, luaSetTable, luaStackCall, luaToNumber, luaUnaryMinus, toJavaBoxedBoolean, toJavaByte, toJavaChar, toJavaDouble, toJavaFloat, toJavaInstance, toJavaLong, toJavaShort, toString, toStrongReference |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final LNil NIL
| Constructor Detail |
|---|
public LNil()
| Method Detail |
|---|
public final LString luaAsString()
LValue
luaAsString in class LValuepublic boolean isNil()
LValue
isNil in class LValuepublic boolean toJavaBoolean()
LValue
toJavaBoolean in class LValuepublic int luaGetType()
LValue
luaGetType in class LValuepublic int toJavaInt()
LValue
toJavaInt in class LValuepublic java.lang.String toJavaString()
LValue
toJavaString in class LValuepublic java.lang.Byte toJavaBoxedByte()
LValue
toJavaBoxedByte in class LValuepublic java.lang.Character toJavaBoxedCharacter()
LValue
toJavaBoxedCharacter in class LValuepublic java.lang.Double toJavaBoxedDouble()
LValue
toJavaBoxedDouble in class LValuepublic java.lang.Float toJavaBoxedFloat()
LValue
toJavaBoxedFloat in class LValuepublic java.lang.Integer toJavaBoxedInteger()
LValue
toJavaBoxedInteger in class LValuepublic java.lang.Long toJavaBoxedLong()
LValue
toJavaBoxedLong in class LValuepublic java.lang.Short toJavaBoxedShort()
LValue
toJavaBoxedShort in class LValue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||