Package com.prineside.luaj
Class UpValue
java.lang.Object
com.prineside.luaj.UpValue
- All Implemented Interfaces:
 KryoSerializable
Upvalue used with Closure formulation
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
UpValue
Create an upvalue relative to a stack- Parameters:
 stack- the stackindex- the index on the stack for the upvalue
 
 - 
 - 
Method Details
- 
write
- Specified by:
 writein interfaceKryoSerializable
 - 
read
- Specified by:
 readin interfaceKryoSerializable
 - 
toString
 - 
tojstring
Convert this upvalue to a Java String- Returns:
 - the Java String for this upvalue.
 - See Also:
 
 - 
getValue
Get the value of the upvalue- Returns:
 - the 
LuaValuefor this upvalue 
 - 
setValue
Set the value of the upvalue- Parameters:
 value- theLuaValueto set it to
 - 
close
public final void close()Close this upvalue so it is no longer on the stack 
 -