|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jga.fn.UnaryFunctor<T,R>
net.sf.jga.fn.adaptor.ConditionalUnary<T,R>
net.sf.jga.fn.adaptor.Conditional<T,R>
public class Conditional<T,R>
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.sf.jga.fn.adaptor.ConditionalUnary |
|---|
ConditionalUnary.Visitor |
| Constructor Summary | |
|---|---|
Conditional(UnaryFunctor<T,java.lang.Boolean> test,
UnaryFunctor<T,R> trueFn,
UnaryFunctor<T,R> falseFn)
Deprecated. Builds a Conditional functor, given the condition to test, and the two functors that may be executed. |
|
| Method Summary |
|---|
| Methods inherited from class net.sf.jga.fn.adaptor.ConditionalUnary |
|---|
accept, fn, getCondition, getFalseFunctor, getTrueFunctor, toString |
| Methods inherited from class net.sf.jga.fn.UnaryFunctor |
|---|
bind, compose, compose, generate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Conditional(UnaryFunctor<T,java.lang.Boolean> test,
UnaryFunctor<T,R> trueFn,
UnaryFunctor<T,R> falseFn)
java.lang.IllegalArgumentException - if any of the functors is missing
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||