static <T> Predicate<Iterable<T>> |
PredicateSupport.allMatch(Predicate<T> target) |
Creates a predicate that checks that all elements of an Iterable matches a given target predicate.
|
static <T> Predicate<T> |
PredicateSupport.and(Iterable<? extends Predicate<? super T>> components) |
Returns a predicate that evaluates to true if each of its components evaluates to
true.
|
static <T> Predicate<T> |
PredicateSupport.and(Predicate<? super T>... components) |
Returns a predicate that evaluates to true if each of its components evaluates to
true.
|
static <T> Predicate<T> |
PredicateSupport.and(Predicate<? super T> first,
Predicate<? super T> second) |
Returns a predicate that evaluates to true if each of its components evaluates to
true.
|
static <T> Predicate<Iterable<T>> |
PredicateSupport.anyMatch(Predicate<T> target) |
Creates a predicate that checks that any element in an Iterable matches a given target predicate.
|
static Predicate<CharSequence> |
PredicateSupport.caseInsensitiveMatch(String target) |
Creates a predicate that checks if a given CharSequence matches a target string while ignoring case.
|
static <T> Predicate<T> |
PredicateSupport.fromFunction(Function<T,Boolean> function,
Predicate<T> defValue) |
Creates a predicate that applies a function to an input and returns its result, or a default value
if null.
|
static <T> Predicate<T> |
PredicateSupport.not(Predicate<T> predicate) |
Returns a predicate that evaluates to true if the given predicate evaluates to
false.
|
static <T> Predicate<T> |
PredicateSupport.or(Iterable<? extends Predicate<? super T>> components) |
Returns a predicate that evaluates to true if any one of its components evaluates to
true.
|
static <T> Predicate<T> |
PredicateSupport.or(Predicate<? super T>... components) |
Returns a predicate that evaluates to true if any one of its components evaluates to
true.
|
static <T> Predicate<T> |
PredicateSupport.or(Predicate<? super T> first,
Predicate<? super T> second) |
Returns a predicate that evaluates to true if any one of its components evaluates to
true.
|