MCPcopy
hub / github.com/google/guava / forEach

Method forEach

guava/src/com/google/common/collect/Iterables.java:583–592  ·  view source on GitHub ↗
(Consumer<? super T> action)

Source from the content-addressed store, hash-verified

581 }
582
583 @Override
584 public void forEach(Consumer<? super T> action) {
585 checkNotNull(action);
586 unfiltered.forEach(
587 (@ParametricNullness T a) -> {
588 if (retainIfTrue.test(a)) {
589 action.accept(a);
590 }
591 });
592 }
593
594 @Override
595 @GwtIncompatible // Spliterator

Callers

nothing calls this directly

Calls 5

forEachMethod · 0.65
testMethod · 0.65
acceptMethod · 0.65
applyMethod · 0.65
checkNotNullMethod · 0.45

Tested by

no test coverage detected