Returns true if any element in iterable satisfies the predicate.
(Iterable<T> iterable, Predicate<? super T> predicate)
| 649 | |
| 650 | |
| 651 | public static <T> boolean any(Iterable<T> iterable, Predicate<? super T> predicate) { |
| 652 | return Iterators.any(iterable.iterator(), predicate); |
| 653 | } |
| 654 | |
| 655 | /** |
| 656 | * Returns {@code true} if every element in {@code iterable} satisfies the |