|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectariba.util.core.Predicate<T>
ariba.util.core.CompositePredicate<T>
ariba.util.core.OrPredicate<T>
T
- public class OrPredicate<T>
Implements a boolean or of the contained set of predicates
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ariba.util.core.Predicate |
---|
Predicate.Constant<T> |
Constructor Summary | |
---|---|
OrPredicate(java.util.Set<Predicate<T>> predicates)
|
Method Summary | |
---|---|
boolean |
evaluate(T t)
For or to be true, any predicate must be true. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrPredicate(java.util.Set<Predicate<T>> predicates)
Method Detail |
---|
public boolean evaluate(T t)
evaluate
in class CompositePredicate<T>
t
- of type T
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |