A
- The input Iterable element typepublic final class All<A> extends Object implements BiPredicate<Fn1<? super A,? extends Boolean>,Iterable<A>>
Iterable
, returning true
if every element
satisfies the predicate, and false
otherwise. This method short-circuits on the first false
evaluation.Any
Modifier and Type | Method and Description |
---|---|
static <A> All<A> |
all() |
static <A> Fn1<Iterable<A>,? extends Boolean> |
all(Fn1<? super A,? extends Boolean> predicate) |
static <A> Boolean |
all(Fn1<? super A,? extends Boolean> predicate,
Iterable<A> as) |
Boolean |
checkedApply(Fn1<? super A,? extends Boolean> predicate,
Iterable<A> as) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, apply, contraMap, diMapL, discardR, flip, fromBiPredicate, negate, or, toBiPredicate, uncurry
apply, checkedApply, compose, curried, curry, fn2, fromBiFunction, toBiFunction, widen