MCPcopy Create free account
hub / github.com/antlr/codebuff / any

Method any

output/java_guava/1.4.17/Iterables.java:651–653  ·  view source on GitHub ↗

Returns true if any element in iterable satisfies the predicate.

(Iterable<T> iterable, Predicate<? super T> predicate)

Source from the content-addressed store, hash-verified

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

Callers 3

isEmptyMethod · 0.95
isEmptyMethod · 0.95
anyMatchMethod · 0.95

Calls 2

anyMethod · 0.95
iteratorMethod · 0.65

Tested by

no test coverage detected