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

Method allMatch

output/java_guava/1.4.17/FluentIterable.java:455–457  ·  view source on GitHub ↗

Returns true if every element in this fluent iterable satisfies the predicate. If this fluent iterable is empty, true is returned. Stream equivalent: stream.allMatch(predicate) (same).

(Predicate<? super E> predicate)

Source from the content-addressed store, hash-verified

453
454
455 public final boolean allMatch(Predicate<? super E> predicate) {
456 return Iterables.all(iterable, predicate);
457 }
458
459 /**
460 * Returns an {@link Optional} containing the first element in this fluent iterable that satisfies

Callers

nothing calls this directly

Calls 1

allMethod · 0.95

Tested by

no test coverage detected