|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.projectory.koivima.core.ExecutionContext
de.projectory.addingmachine.AddingContext
public class AddingContext
This is an example for an extended execution context. This context contains some memory and a register.
| Field Summary | |
|---|---|
DataElement[] |
memory
Main memory |
(package private) int |
memorySize
Number of memory cells |
DataElement |
registerA
Register to perform calculations |
| Fields inherited from class de.projectory.koivima.core.ExecutionContext |
|---|
codeBlock, dataStack |
| Constructor Summary | |
|---|---|
AddingContext()
Creates a new AddingContext and adds some data to the memory cells. |
|
| Method Summary | |
|---|---|
AddingContext |
copy()
Returns a shallo copy of this execution context. |
| Methods inherited from class de.projectory.koivima.core.ExecutionContext |
|---|
onError |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final int memorySize
public DataElement[] memory
public DataElement registerA
| Constructor Detail |
|---|
public AddingContext()
| Method Detail |
|---|
public AddingContext copy()
copy in class ExecutionContext
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||