Returns true if every element in iterable satisfies the predicate. If iterable is empty, true is returned.
(Iterable<T> iterable, Predicate<? super T> predicate)
| 659 | |
| 660 | |
| 661 | public static <T> boolean all(Iterable<T> iterable, Predicate<? super T> predicate) { |
| 662 | return Iterators.all(iterable.iterator(), predicate); |
| 663 | } |
| 664 | |
| 665 | /** |
| 666 | * Returns the first element in {@code iterable} that satisfies the given |
no test coverage detected