Package net.shibboleth.shared.logic
Class AllMatchPredicate<T>
java.lang.Object
net.shibboleth.shared.logic.AllMatchPredicate<T>
- Type Parameters:
T- type of object upon which this predicate operates
A
Predicate that checks that all items in an Iterable match 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
false returned by the target predicate stops evaluation and causes this predicate to return (i.e., it
short-circuits the evaluation).