|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UpValue(LuaValue[] stack,
int index)
stack - the stackindex - the index on the stack for the upvalue| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String tojstring()
LuaValue.tojstring()public final LuaValue getValue()
LuaValue for this upvaluepublic final void setValue(LuaValue value)
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 | |||||||||