T - type of object upon which this predicate operatespublic class AnyMatchPredicate<T> extends Object implements com.google.common.base.Predicate<Iterable<T>>
Predicate that checks that any item in an Iterable matches a given target predicate. If the given
Iterable is null or contains no items this method will return false, otherwise it passes each
Iterable value to the target predicate, even if those values are null. The first
true returned by the target predicate stops evaluation and causes this predicate to return (i.e., it
short-circuits the evaluation).| Modifier and Type | Field and Description |
|---|---|
private com.google.common.base.Predicate<T> |
predicate
The predicate applied to each value of the
Iterable. |
| Constructor and Description |
|---|
AnyMatchPredicate(com.google.common.base.Predicate<T> target)
Constructor.
|
Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.