|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectExecution
public final class Execution extends Object
Represents the unfolding execution of a sequence. This is essentially a wrapper around List<ExecutionOutcome>. Stores information in a list of ExecutionOutcome objects, one for each statement in the sequence.
| Modifier and Type | Field and Description |
|---|---|
protected Sequence |
owner
|
protected List<ExecutionOutcome> |
theList
|
| Constructor and Description |
|---|
Execution(Sequence owner)
Create an Execution to store the execution results of the given sequence. |
Execution(Sequence owner,
List<ExecutionOutcome> theList)
Construct an Execution directly from the given arguments. |
| Modifier and Type | Method and Description |
|---|---|
ExecutionOutcome |
get(int i)
Get the outcome in the i-th slot. |
void |
set(int i,
ExecutionOutcome outcome)
Set the i-th slot to the given outcome. |
int |
size()
The size of the list. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final List<ExecutionOutcome> theList
protected final Sequence owner
| Constructor Detail |
|---|
public Execution(Sequence owner)
public Execution(Sequence owner,
List<ExecutionOutcome> theList)
| Method Detail |
|---|
public int size()
public void set(int i,
ExecutionOutcome outcome)
public ExecutionOutcome get(int i)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||