|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.syrup.helpers.ResultImpl
A generic Result implementation.
Constructor Summary | |
ResultImpl(Context c,
boolean in1,
boolean in2,
Data out1,
Data out2)
Constructor for the ResultImpl object |
Method Summary | |
Context |
context()
Returns the Context from which the Result is computed. |
boolean |
in_1_consumed()
Returns true if the first input has been consumed. |
boolean |
in_2_consumed()
Returns true if the second input has been consumed. |
Data |
out_1_result()
Returns the first resulting output. |
Data |
out_2_result()
Return the second resulting output. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResultImpl(Context c, boolean in1, boolean in2, Data out1, Data out2)
c
- The Context attribute.in1
- The in_1_consumed attribute.in2
- The in_2_consumed attribute.out1
- The out_1_result attribute.out2
- The out_2_result attribute.Method Detail |
public Context context()
Result
context
in interface Result
public boolean in_1_consumed()
Result
in_1_consumed
in interface Result
public boolean in_2_consumed()
Result
in_2_consumed
in interface Result
public Data out_1_result()
Result
out_1_result
in interface Result
public Data out_2_result()
Result
out_2_result
in interface Result
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |