Package com.prineside.luaj
Class WeakTable.WeakValueSlot
java.lang.Object
com.prineside.luaj.WeakTable.WeakSlot
com.prineside.luaj.WeakTable.WeakValueSlot
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable,LuaTable.Slot
- Enclosing class:
- WeakTable
-
Field Summary
Fields inherited from class com.prineside.luaj.WeakTable.WeakSlot
key, next, value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWeakValueSlot(LuaValue key, LuaValue value, LuaTable.Slot next) protectedWeakValueSlot(WeakTable.WeakValueSlot copyFrom, LuaTable.Slot next) -
Method Summary
Modifier and TypeMethodDescriptionprotected WeakTable.WeakSlotcopy(LuaTable.Slot next) intkeyindex(int mask) Return hash{pow2,mod}( first().key().hashCode(), sizeMask )
-
Constructor Details
-
WeakValueSlot
-
WeakValueSlot
-
-
Method Details
-
keyindex
public int keyindex(int mask) Description copied from interface:LuaTable.SlotReturn hash{pow2,mod}( first().key().hashCode(), sizeMask )- Specified by:
keyindexin interfaceLuaTable.Slot- Specified by:
keyindexin classWeakTable.WeakSlot
-
set
- Specified by:
setin classWeakTable.WeakSlot
-
strongvalue
- Overrides:
strongvaluein classWeakTable.WeakSlot
-
copy
- Specified by:
copyin classWeakTable.WeakSlot
-