|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.commons.predicate.Predicates
public class Predicates
Static utility class to help working with Predicates.
| Constructor Summary | |
|---|---|
Predicates()
|
|
| Method Summary | |
|---|---|
static Predicate |
and(Predicate... predicates)
Creates an AND predicate over all the given component predicates. |
static Predicate |
not(Predicate predicate)
Creates a NOT predicate for the given component predicate. |
static Predicate |
or(Predicate... predicates)
Creates an OR predicate over all the given component predicates. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Predicates()
| Method Detail |
|---|
public static Predicate and(Predicate... predicates)
true
for the AND predicate to do so.
predicates - component predicates
public static Predicate or(Predicate... predicates)
true for the OR predicate to do so.
predicates - component predicates
public static Predicate not(Predicate predicate)
true when the component
predicate doesn't, and vice versa.
predicate - component predicate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||