|
|||||||||
| Home >> All >> org >> objectstyle >> ashwood >> [ predicate overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.objectstyle.ashwood.predicate
Class TernaryPredicate

java.lang.Objectorg.objectstyle.ashwood.predicate.TernaryPredicate
- All Implemented Interfaces:
- org.apache.commons.collections.Predicate
- public class TernaryPredicate
- extends java.lang.Object
- implements org.apache.commons.collections.Predicate
- extends java.lang.Object
| Field Summary | |
private org.apache.commons.collections.Predicate |
elsePredicate
|
private org.apache.commons.collections.Predicate |
ifPredicate
|
private org.apache.commons.collections.Predicate |
thenPredicate
|
| Constructor Summary | |
TernaryPredicate(org.apache.commons.collections.Predicate ifPred,
org.apache.commons.collections.Predicate thenPred,
org.apache.commons.collections.Predicate elsePred)
|
|
| Method Summary | |
boolean |
evaluate(java.lang.Object parameter)
Returns true if the input object matches this predicate. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
ifPredicate
private org.apache.commons.collections.Predicate ifPredicate
thenPredicate
private org.apache.commons.collections.Predicate thenPredicate
elsePredicate
private org.apache.commons.collections.Predicate elsePredicate
| Constructor Detail |
TernaryPredicate
public TernaryPredicate(org.apache.commons.collections.Predicate ifPred, org.apache.commons.collections.Predicate thenPred, org.apache.commons.collections.Predicate elsePred)
| Method Detail |
evaluate
public boolean evaluate(java.lang.Object parameter)
- Description copied from interface:
org.apache.commons.collections.Predicate - Returns true if the input object matches this predicate.
- Specified by:
evaluatein interfaceorg.apache.commons.collections.Predicate
|
|||||||||
| Home >> All >> org >> objectstyle >> ashwood >> [ predicate overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.objectstyle.ashwood.predicate.TernaryPredicate