public final class StackOperations extends SimpleOperations
Constructor and Description |
---|
StackOperations() |
Modifier and Type | Method and Description |
---|---|
void |
execute(Task task,
SimpleOperation.Reference reference)
Executes an operation code within the context of a task.
|
protected void |
setUp()
Sets up operations.
|
getParams, getRegistrations, getThisLogger, setUp
public void execute(Task task, SimpleOperation.Reference reference) throws Task.ExecuteException, Stack.AccessException
Must be implemented by each module.
execute
in class SimpleOperations
task
- Task executing the program.reference
- Reference to the operation.Task.ExecuteException
- when appropriate.Stack.AccessException
- When raised by the stack.protected void setUp() throws Operation.OverloadException
setUp
in class Operations
Operation.OverloadException
- From Operation.register(java.util.Map<java.lang.String, org.rvpf.processor.engine.rpn.operation.Operation>)
.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.