android/guava/src/com/google/common/collect/Iterables.java
public static <T> boolean all(Iterable<T> iterable, Predicate<? super T> predicate) {
    return Iterators.all(iterable.iterator(), predicate);
  }
public static <T> boolean all(Iterable<T> iterable, Predicate<? super T> predicate) {
    return Iterators.all(iterable.iterator(), predicate);
  }
Returns {@code true} if every element in {@code iterable} satisfies the predicate. If {@code
iterable} is empty, {@code true} is returned.

<p><b>{@code Stream} equivalent:</b> {@link Stream#allMatch}.