|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmodhelxs.abstractsemantics.Token
public class Token
A Token is a piece of information that can be put on a pin to be communicated between blocks. A value is associated to a token by its model of computation.
| Field Summary | |
|---|---|
private ModelOfComputation<?> |
owner_
The model of computation that knows the value of this token. |
| Constructor Summary | |
|---|---|
Token(ModelOfComputation<?> owner)
Build a new token, valid in a model of computation. |
|
| Method Summary | |
|---|---|
ModelOfComputation<?> |
getOwner()
Get the model of computation in which this token is valid. |
java.lang.Object |
getValue()
Get the value which is assoviated to this token. |
Token |
setValue(java.lang.Object o)
Set the value which is associated to this token. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ModelOfComputation<?> owner_
| Constructor Detail |
|---|
public Token(ModelOfComputation<?> owner)
| Method Detail |
|---|
public ModelOfComputation<?> getOwner()
public java.lang.Object getValue()
public Token setValue(java.lang.Object o)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||