|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.syrup.helpers.LinkImpl
A generic Link Implementation.
Constructor Summary | |
LinkImpl(OutPort f,
InPort t,
Data c)
Constructor for the LinkImpl object |
Method Summary | |
Data |
content()
Returns the content held by the Link. |
OutPort |
from()
Returns the OutPort of the Link. |
InPort |
to()
Returns the InPort of the Link. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LinkImpl(OutPort f, InPort t, Data c)
f
- The OutputPort from.t
- The InputPort to.c
- The Data held by the Link.Method Detail |
public OutPort from()
Link
from
in interface Link
public InPort to()
Link
to
in interface Link
public Data content()
Link
content
in interface Link
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |