| 限定符和类型 | 字段和说明 |
|---|---|
protected Object |
key |
protected org.luaj.vm2.LuaTable.Slot |
next |
protected Object |
value |
| 限定符和类型 | 方法和说明 |
|---|---|
org.luaj.vm2.LuaTable.Slot |
add(org.luaj.vm2.LuaTable.Slot entry)
Link the given new entry to this slot.
|
int |
arraykey(int max)
Return first entry's key, iff it is an integer between 1 and max,
inclusive, or zero otherwise.
|
protected abstract WeakTable.WeakSlot |
copy(org.luaj.vm2.LuaTable.Slot next) |
org.luaj.vm2.LuaTable.StrongSlot |
find(LuaValue key)
Compare given key with first()'s key; return first() if equal.
|
org.luaj.vm2.LuaTable.StrongSlot |
first()
Return first Entry, if still present, or null.
|
boolean |
keyeq(LuaValue key)
Compare given key with first()'s key; return true if equal.
|
abstract int |
keyindex(int hashMask)
Return hash{pow2,mod}( first().key().hashCode(), sizeMask )
|
org.luaj.vm2.LuaTable.Slot |
relink(org.luaj.vm2.LuaTable.Slot rest)
Return a Slot with the same first key and value (if still present)
and rest() equal to rest.
|
org.luaj.vm2.LuaTable.Slot |
remove(org.luaj.vm2.LuaTable.StrongSlot target)
Return a Slot with the given value set to nil; must not return null
for next() to behave correctly.
|
org.luaj.vm2.LuaTable.Slot |
rest()
Return rest of elements
|
org.luaj.vm2.LuaTable.Slot |
set(org.luaj.vm2.LuaTable.StrongSlot target,
LuaValue value)
Set the value of this Slot's first Entry, if possible, or return a
new Slot whose first entry has the given value.
|
abstract org.luaj.vm2.LuaTable.Slot |
set(LuaValue value) |
LuaValue |
strongkey() |
LuaValue |
strongvalue() |
protected Object key
protected Object value
protected org.luaj.vm2.LuaTable.Slot next
public abstract int keyindex(int hashMask)
public abstract org.luaj.vm2.LuaTable.Slot set(LuaValue value)
public org.luaj.vm2.LuaTable.StrongSlot first()
public org.luaj.vm2.LuaTable.StrongSlot find(LuaValue key)
public boolean keyeq(LuaValue key)
public org.luaj.vm2.LuaTable.Slot rest()
public int arraykey(int max)
public org.luaj.vm2.LuaTable.Slot set(org.luaj.vm2.LuaTable.StrongSlot target,
LuaValue value)
public org.luaj.vm2.LuaTable.Slot add(org.luaj.vm2.LuaTable.Slot entry)
public org.luaj.vm2.LuaTable.Slot remove(org.luaj.vm2.LuaTable.StrongSlot target)
public org.luaj.vm2.LuaTable.Slot relink(org.luaj.vm2.LuaTable.Slot rest)
public LuaValue strongkey()
public LuaValue strongvalue()
protected abstract WeakTable.WeakSlot copy(org.luaj.vm2.LuaTable.Slot next)
Copyright © 2020. All rights reserved.