|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.jutil.predicate.AbstractPredicate
|
+--org.jutil.predicate.BinaryPredicate
|
+--org.jutil.predicate.Implication
A class of predicates that evaluates to the implication of two other predicates. This is the logical ==> operator.

| Field Summary | |
static java.lang.String |
CVS_REVISION
|
| Constructor Summary | |
Implication(Predicate first,
Predicate second)
Initialize a new Implication with the given predicates. |
|
| Method Summary | |
boolean |
eval(java.lang.Object object)
Evaluate this Predicate for the given object. |
| Methods inherited from class org.jutil.predicate.BinaryPredicate |
getFirst, getSecond, getSubPredicates, nbSubPredicates, setFirst, setSecond |
| Methods inherited from class org.jutil.predicate.AbstractPredicate |
count, equals, exists, filter, forall |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jutil.java.collections.CollectionOperator |
isValidElement |
| Field Detail |
public static final java.lang.String CVS_REVISION
| Constructor Detail |
public Implication(Predicate first,
Predicate second)
first - The first predicate.second - The second predicate.| Method Detail |
public boolean eval(java.lang.Object object)
throws java.lang.Exception
Predicate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||