|
|||||||||
| 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 ConstPredicate

java.lang.Objectorg.objectstyle.ashwood.predicate.ConstPredicate
- All Implemented Interfaces:
- org.apache.commons.collections.Predicate
- public class ConstPredicate
- extends java.lang.Object
- implements org.apache.commons.collections.Predicate
- extends java.lang.Object
| Field Summary | |
static ConstPredicate |
FALSE
|
private boolean |
returnValue
|
static ConstPredicate |
TRUE
|
| Constructor Summary | |
ConstPredicate(boolean returnValue)
|
|
| 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 |
TRUE
public static ConstPredicate TRUE
FALSE
public static ConstPredicate FALSE
returnValue
private boolean returnValue
| Constructor Detail |
ConstPredicate
public ConstPredicate(boolean returnValue)
| 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.ConstPredicate