|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jexl3.internal.Scope.Frame
public static final class Scope.Frame
A call frame, created from a scope, stores the arguments and local variables in a "stack frame" (sic).
Constructor Summary | |
---|---|
Scope.Frame(Scope s,
Object[] r,
int c)
Creates a new frame. |
Method Summary | |
---|---|
Scope.Frame |
assign(Object... values)
Assign values to this frame. |
boolean |
equals(Object obj)
|
Object |
get(int s)
Gets a value. |
Scope |
getScope()
Gets the scope. |
int |
hashCode()
|
void |
set(int r,
Object value)
Sets a value. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Scope.Frame(Scope s, Object[] r, int c)
s
- the scoper
- the stack framec
- the number of curried parametersMethod Detail |
---|
public Scope getScope()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public Object get(int s)
s
- the offset in this frame
public void set(int r, Object value)
r
- the offset in this framevalue
- the value to set in this framepublic Scope.Frame assign(Object... values)
values
- the values
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |