public class ExecutionContext extends Object
Constructor and Description |
---|
ExecutionContext(Operators operatorSet)
Creates a new execution context.
|
Modifier and Type | Method and Description |
---|---|
Operators |
getOperators()
Returns the operator set used by this execution context.
|
Stack<Object> |
getStack()
Returns the stack used by this execution context.
|
int |
popInt()
Pops a value of type int from the stack.
|
Number |
popNumber()
Pops a number (int or real) from the stack.
|
float |
popReal()
Pops a number from the stack and returns it as a real value.
|
public ExecutionContext(Operators operatorSet)
operatorSet
- the operator setpublic Stack<Object> getStack()
public Operators getOperators()
public Number popNumber()
public int popInt()
public float popReal()
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.