|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.syrup.functions.Flip
Flips the first input in such a way that if the first input is 0, the first output will be 1. Vice versa, when the first input is 1, the first output will be 0.
Constructor Summary | |
Flip()
|
Method Summary | |
Result |
execute(Context context)
Generates a Result given a Task's Context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Flip()
Method Detail |
public Result execute(Context context)
Function
execute
in interface Function
context
- The Context from which the Function get its parameters.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |