Package party.iroiro.luajava.value
Class AbstractRefLuaValue
- All Implemented Interfaces:
Map<LuaValue,,LuaValue> party.iroiro.luajava.cleaner.LuaReferable,LuaTableTrait,LuaValue
- Direct Known Subclasses:
LuaTableValue,RefLuaValue
public abstract class AbstractRefLuaValue
extends AbstractLuaValue<Lua>
implements party.iroiro.luajava.cleaner.LuaReferable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields inherited from class party.iroiro.luajava.value.AbstractLuaValue
L, type -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class party.iroiro.luajava.value.AbstractLuaValue
entrySet, equals, get, get, get, hashCode, length, set, set, state, toBoolean, toBuffer, toInteger, toNumber, toProxy, toProxy, typeMethods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, get, isEmpty, keySet, put, putAll, remove, size, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface party.iroiro.luajava.value.LuaTableTrait
get, put, sizeMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, forEach, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, values
-
Constructor Details
-
AbstractRefLuaValue
-
-
Method Details
-
push
Description copied from interface:LuaValuePushes the Lua value onto the Lua stack of another thread sharing the same main state- Specified by:
pushin interfaceLuaValue- Parameters:
L- another thread- Throws:
LuaException
-
toJavaObject
Description copied from interface:LuaValueConverts this Lua value to a Java object.- Specified by:
toJavaObjectin interfaceLuaValue- Returns:
- a Java value converted from this Lua value
- See Also:
-
getReference
public int getReference()- Specified by:
getReferencein interfaceparty.iroiro.luajava.cleaner.LuaReferable
-
call
Description copied from interface:LuaValuePerformsthisLuaValue(parameter1, parameter2, ...)- Specified by:
callin interfaceLuaValue- Overrides:
callin classAbstractLuaValue<Lua>- Parameters:
parameters- the parameters- Returns:
- the return values,
nullon error
-