|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.luaj.vm2.UpValue
public final class UpValue
Upvalue used with Closure formulation
LuaClosure
,
Prototype
Constructor Summary | |
---|---|
UpValue(LuaValue[] stack,
int index)
Create an upvalue relative to a stack |
Method Summary | |
---|---|
void |
close()
Close this upvalue so it is no longer on the stack |
LuaValue |
getValue()
Get the value of the upvalue |
void |
setValue(LuaValue value)
Set the value of the upvalue |
java.lang.String |
tojstring()
Convert this upvalue to a Java String |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UpValue(LuaValue[] stack, int index)
stack
- the stackindex
- the index on the stack for the upvalueMethod Detail |
---|
public java.lang.String tojstring()
LuaValue.tojstring()
public final LuaValue getValue()
LuaValue
for this upvaluepublic final void setValue(LuaValue value)
the
- LuaValue
to set it topublic final void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |