|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shapelogic.predicate.CompositePredicate<T> org.shapelogic.predicate.OnePredicate<T> org.shapelogic.predicate.OnePredicateSelector<T>
T
- public class OnePredicateSelector<T>
OnePredicateSelector is an XOR or One Predicate where you can also see
which predicate returned true.
Field Summary | |
---|---|
protected NamedPredicate<T>[] |
_namedPredicates
|
Fields inherited from class org.shapelogic.predicate.CompositePredicate |
---|
_predicates |
Constructor Summary | |
---|---|
OnePredicateSelector(NamedPredicate<T>[] predicates)
|
Method Summary | |
---|---|
java.lang.String |
invoke(T input)
|
Methods inherited from class org.shapelogic.predicate.OnePredicate |
---|
evaluate |
Methods inherited from class org.shapelogic.predicate.CompositePredicate |
---|
getPredicates |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final NamedPredicate<T>[] _namedPredicates
Constructor Detail |
---|
public OnePredicateSelector(NamedPredicate<T>[] predicates)
Method Detail |
---|
public java.lang.String invoke(T input)
invoke
in interface Calc1<T,java.lang.String>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |