Class WeakTable.WeakUserdata

All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable
Enclosing class:
WeakTable

public static final class WeakTable.WeakUserdata extends WeakTable.WeakValue
Internal class to implement weak userdata values.
See Also:
  • Method Details

    • write

      public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output)
      Specified by:
      write in interface com.esotericsoftware.kryo.KryoSerializable
      Overrides:
      write in class WeakTable.WeakValue
    • read

      public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input)
      Specified by:
      read in interface com.esotericsoftware.kryo.KryoSerializable
      Overrides:
      read in class WeakTable.WeakValue
    • strongvalue

      public LuaValue strongvalue()
      Description copied from class: LuaValue
      Return this value as a strong reference, or null if it was weak and is no longer referenced.
      Overrides:
      strongvalue in class WeakTable.WeakValue
      Returns:
      LuaValue referred to, or null if it was weak and is no longer referenced.
      See Also: