org.luaj.vm2
Class LuaNil

java.lang.Object
  extended by org.luaj.vm2.Varargs
      extended by org.luaj.vm2.LuaValue
          extended by org.luaj.vm2.LuaNil

public class LuaNil
extends LuaValue


Field Summary
static LuaValue s_metatable
           
 
Fields inherited from class org.luaj.vm2.LuaValue
CALL, EMPTYSTRING, FALSE, INDEX, METATABLE, MINUSONE, MODE, NEWINDEX, NIL, NILS, NONE, NOVALS, ONE, TBOOLEAN, TFUNCTION, TINT, TLIGHTUSERDATA, TNIL, TNONE, TNUMBER, TRUE, TSTRING, TTABLE, TTHREAD, TUSERDATA, TVALUE, TYPE_NAMES, ZERO
 
Method Summary
 LuaValue checknotnil()
           
 LuaValue checkvalidkey()
           
 boolean equals(java.lang.Object o)
           
 LuaValue getmetatable()
           
 boolean isnil()
           
 LuaValue not()
           
 boolean optboolean(boolean defval)
           
 LuaClosure optclosure(LuaClosure defval)
           
 double optdouble(double defval)
           
 LuaFunction optfunction(LuaFunction defval)
           
 int optint(int defval)
           
 LuaInteger optinteger(LuaInteger defval)
           
 java.lang.String optjstring(java.lang.String defval)
           
 long optlong(long defval)
           
 LuaNumber optnumber(LuaNumber defval)
           
 LuaString optstring(LuaString defval)
           
 LuaTable opttable(LuaTable defval)
           
 LuaThread optthread(LuaThread defval)
           
 java.lang.Object optuserdata(java.lang.Class c, java.lang.Object defval)
           
 java.lang.Object optuserdata(java.lang.Object defval)
           
 LuaValue optvalue(LuaValue defval)
           
 boolean toboolean()
           
 java.lang.String tojstring()
           
 int type()
           
 java.lang.String typename()
           
 
Methods inherited from class org.luaj.vm2.LuaValue
add, add, add, and, arg, arg1, argerror, argerror, aritherror, aritherror, assert_, call, call, call, call, callerror, checkboolean, checkclosure, checkdouble, checkfunction, checkint, checkinteger, checkjstring, checklong, checknumber, checknumber, checkstring, checkString, checktable, checkthread, checkuserdata, checkuserdata, compareerror, compareerror, concat_s, concat, concatTo_s, div, divInto, eq_b, eq_b, eq_b, eq_b, eq, error, get, get, get, getfenv, getn, gettable, gt_b, gt_b, gt_b, gt, gteq_b, gteq_b, gteq_b, gteq, incr, inext, invoke, invoke, invoke, invoke, invoke, invoke, invokemethod, invokemethod, invokemethod, invokemethod, isboolean, isclosure, isfunction, isint, isinttype, islong, isnumber, isstring, istable, isthread, isuserdata, isuserdata, len, lenerror, length, listOf, listOf, load, lt_b, lt_b, lt_b, lt, lteq_b, lteq_b, lteq_b, lteq, metatag, method, method, method, method, method, method, mod, modFrom, mul, mul, mul, narg, neg, neq_b, neq_b, neq_b, neq, next, onInvoke, optString, or, pow, powWith, powWith, presize, rawget, rawget, rawget, rawset, rawset, rawset, rawset, rawset, rawset, rawset, rawsetlist, set, set, set, set, set, set, set, setfenv, setmetatable, settable, strcmp, strcmp, strongvalue, strvalue, sub, subFrom, subFrom, tableOf, tableOf, tableOf, tableOf, tableOf, tableOf, tailcallOf, testfor_b, testfor_b, testfor_b, tobyte, tochar, todouble, tofloat, toint, tolong, tonumber, toshort, tostring, toString, touserdata, touserdata, typerror, unimplemented, userdataOf, userdataOf, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf, varargsOf, varargsOf, varargsOf, varargsOf, varargsOf, varargsOf
 
Methods inherited from class org.luaj.vm2.Varargs
argcheck, checkboolean, checkclosure, checkdouble, checkfunction, checkint, checkinteger, checkjstring, checklong, checknotnil, checknumber, checkstring, checkString, checktable, checkthread, checkuserdata, checkuserdata, checkvalue, eval, isfunction, isnil, isnoneornil, isnumber, isstring, istable, isTailcall, isthread, isuserdata, isvalue, optboolean, optclosure, optdouble, optfunction, optint, optinteger, optjstring, optlong, optnumber, optstring, optString, opttable, optthread, optuserdata, optuserdata, optvalue, subargs, toboolean, tobyte, tochar, todouble, tofloat, toint, tojstring, tolong, toshort, touserdata, touserdata, type
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

s_metatable

public static LuaValue s_metatable
Method Detail

type

public int type()
Specified by:
type in class LuaValue

typename

public java.lang.String typename()
Specified by:
typename in class LuaValue

tojstring

public java.lang.String tojstring()
Overrides:
tojstring in class LuaValue

not

public LuaValue not()
Overrides:
not in class LuaValue

toboolean

public boolean toboolean()
Overrides:
toboolean in class LuaValue

isnil

public boolean isnil()
Overrides:
isnil in class LuaValue

getmetatable

public LuaValue getmetatable()
Overrides:
getmetatable in class LuaValue

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class LuaValue

checknotnil

public LuaValue checknotnil()
Overrides:
checknotnil in class LuaValue

checkvalidkey

public LuaValue checkvalidkey()
Overrides:
checkvalidkey in class LuaValue

optboolean

public boolean optboolean(boolean defval)
Overrides:
optboolean in class LuaValue

optclosure

public LuaClosure optclosure(LuaClosure defval)
Overrides:
optclosure in class LuaValue

optdouble

public double optdouble(double defval)
Overrides:
optdouble in class LuaValue

optfunction

public LuaFunction optfunction(LuaFunction defval)
Overrides:
optfunction in class LuaValue

optint

public int optint(int defval)
Overrides:
optint in class LuaValue

optinteger

public LuaInteger optinteger(LuaInteger defval)
Overrides:
optinteger in class LuaValue

optlong

public long optlong(long defval)
Overrides:
optlong in class LuaValue

optnumber

public LuaNumber optnumber(LuaNumber defval)
Overrides:
optnumber in class LuaValue

opttable

public LuaTable opttable(LuaTable defval)
Overrides:
opttable in class LuaValue

optthread

public LuaThread optthread(LuaThread defval)
Overrides:
optthread in class LuaValue

optjstring

public java.lang.String optjstring(java.lang.String defval)
Overrides:
optjstring in class LuaValue

optstring

public LuaString optstring(LuaString defval)
Overrides:
optstring in class LuaValue

optuserdata

public java.lang.Object optuserdata(java.lang.Object defval)
Overrides:
optuserdata in class LuaValue

optuserdata

public java.lang.Object optuserdata(java.lang.Class c,
                                    java.lang.Object defval)
Overrides:
optuserdata in class LuaValue

optvalue

public LuaValue optvalue(LuaValue defval)
Overrides:
optvalue in class LuaValue


Copyright © 2007-2013 Luaj.org. All Rights Reserved.