T
- the input type of the predicatespublic class Or<T> extends Object implements Predicate<T>
Constructor and Description |
---|
Or()
Construct an empty "or"
|
Or(List<Predicate<T>> predicates)
Construct with the given predicates
|
Or(Predicate<T> p1,
Predicate<T> p2)
Construct with the given predicates
|
Or(Predicate<T> p1,
Predicate<T> p2,
Predicate<T> p3)
Construct with the given predicates
|
public Or()
public Or(Predicate<T> p1, Predicate<T> p2)
p1
- first predicatep2
- second predicatepublic Or(Predicate<T> p1, Predicate<T> p2, Predicate<T> p3)
p1
- first predicatep2
- second predicatep3
- third predicate