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
ConstructorsModifierConstructorDescriptionprotected
WeakValueSlot
(LuaValue key, LuaValue value, LuaTable.Slot next) protected
WeakValueSlot
(WeakTable.WeakValueSlot copyFrom, LuaTable.Slot next) -
Method Summary
Modifier and TypeMethodDescriptionprotected WeakTable.WeakSlot
copy
(LuaTable.Slot next) int
keyindex
(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.Slot
Return hash{pow2,mod}( first().key().hashCode(), sizeMask )- Specified by:
keyindex
in interfaceLuaTable.Slot
- Specified by:
keyindex
in classWeakTable.WeakSlot
-
set
- Specified by:
set
in classWeakTable.WeakSlot
-
strongvalue
- Overrides:
strongvalue
in classWeakTable.WeakSlot
-
copy
- Specified by:
copy
in classWeakTable.WeakSlot
-