org.luaj.vm2
Class WeakTable

java.lang.Object
  extended by org.luaj.vm2.Varargs
      extended by org.luaj.vm2.LuaValue
          extended by org.luaj.vm2.LuaTable
              extended by org.luaj.vm2.WeakTable

public class WeakTable
extends LuaTable


Field Summary
 
Fields inherited from class org.luaj.vm2.LuaTable
array, hashKeys, hashValues
 
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
protected  LuaTable changemode(boolean k, boolean v)
           
 LuaValue rawget(int key)
           
 LuaValue rawget(LuaValue key)
           
 void rawset(int key, LuaValue val)
           
 void rawset(LuaValue key, LuaValue val)
          caller must ensure key is not nil
 
Methods inherited from class org.luaj.vm2.LuaTable
checktable, concat, foreach, foreachi, get, get, getmetatable, getn, hashFindSlot, hashset, inext, insert, istable, keys, len, length, maxn, next, opttable, presize, recreateas, remove, set, set, setmetatable, sort, type, 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, checknotnil, checknumber, checknumber, checkstring, checkString, checkthread, checkuserdata, checkuserdata, checkvalidkey, compareerror, compareerror, concat_s, concat, concatTo_s, div, divInto, eq_b, eq_b, eq_b, eq_b, eq, equals, error, get, getfenv, gettable, gt_b, gt_b, gt_b, gt, gteq_b, gteq_b, gteq_b, gteq, incr, invoke, invoke, invoke, invoke, invoke, invoke, invokemethod, invokemethod, invokemethod, invokemethod, isboolean, isclosure, isfunction, isint, isinttype, islong, isnil, isnumber, isstring, isthread, isuserdata, isuserdata, lenerror, 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, not, onInvoke, optboolean, optclosure, optdouble, optfunction, optint, optinteger, optjstring, optlong, optnumber, optstring, optString, optthread, optuserdata, optuserdata, optvalue, or, pow, powWith, powWith, rawget, rawset, rawset, rawset, rawset, rawset, rawsetlist, set, set, set, set, set, setfenv, settable, strcmp, strcmp, strongvalue, strvalue, sub, subFrom, subFrom, tableOf, tableOf, tableOf, tableOf, tableOf, tableOf, tailcallOf, testfor_b, testfor_b, testfor_b, toboolean, tobyte, tochar, todouble, tofloat, toint, tojstring, 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
 

Method Detail

rawget

public LuaValue rawget(int key)
Overrides:
rawget in class LuaTable

rawget

public LuaValue rawget(LuaValue key)
Overrides:
rawget in class LuaTable

rawset

public void rawset(int key,
                   LuaValue val)
Overrides:
rawset in class LuaTable

rawset

public void rawset(LuaValue key,
                   LuaValue val)
Description copied from class: LuaTable
caller must ensure key is not nil

Overrides:
rawset in class LuaTable

changemode

protected LuaTable changemode(boolean k,
                              boolean v)
Overrides:
changemode in class LuaTable


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