|
||||||||||
| 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.LTable
org.luaj.vm.LWeakTable
public class LWeakTable
| Field Summary |
|---|
| Fields inherited from class org.luaj.vm.LTable |
|---|
array, hashKeys, hashValues |
| Fields inherited from class org.luaj.vm.LValue |
|---|
TM_INDEX, TM_METATABLE, TM_MODE, TM_NEWINDEX |
| Constructor Summary | |
|---|---|
LWeakTable()
|
|
LWeakTable(int narray,
int nhash)
|
|
LWeakTable(LTable copy)
|
|
| Method Summary | |
|---|---|
boolean |
next(LuaState vm,
LValue key,
boolean indexedonly)
Leave key,value pair on top, or nil if at end of list. |
protected LValue |
normalizeGet(java.lang.Object val)
Check for null, and convert to nilor leave alone |
protected java.lang.Object |
normalizePut(LValue val)
Check for nil, and convert to null or leave alone |
protected void |
rehash()
|
| Methods inherited from class org.luaj.vm.LTable |
|---|
arrayExpand, arrayPresize, checkLoadFactor, containsKey, containsKey, foreach, get, get, getArrayCapacity, getHashCapacity, getKeys, hashClearSlot, hashFindSlot, hashGet, hashRemove, hashSet, isTable, luaGetMetatable, luaGetType, luaInsertPos, luaLength, luaMaxN, luaRemovePos, luaSetMetatable, luaSort, put, put, put, put, size, toJavaString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LWeakTable()
public LWeakTable(int narray,
int nhash)
public LWeakTable(LTable copy)
| Method Detail |
|---|
protected LValue normalizeGet(java.lang.Object val)
LTable
normalizeGet in class LTableprotected java.lang.Object normalizePut(LValue val)
LTable
normalizePut in class LTable
public boolean next(LuaState vm,
LValue key,
boolean indexedonly)
LTable
next in class LTablevm - the LuaState to leave the values onindexedonly - TODO
protected void rehash()
rehash in class LTable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||