Package com.prineside.luaj
Class WeakTable
java.lang.Object
com.prineside.luaj.WeakTable
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static final class
Internal class to implement weak userdata values.static class
Internal class to implement weak values.static class
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WeakTable
Construct a table with weak keys, weak values, or both- Parameters:
weakkeys
- true to let the table have weak keysweakvalues
- true to let the table have weak values
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) - Specified by:
write
in interfacecom.esotericsoftware.kryo.KryoSerializable
-
read
public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) - Specified by:
read
in interfacecom.esotericsoftware.kryo.KryoSerializable
-
make
-
useWeakKeys
public boolean useWeakKeys() -
useWeakValues
public boolean useWeakValues() -
toLuaValue
-
entry
-
wrap
-
arrayget
-