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

Method forEach

guava/src/com/google/common/collect/Maps.java:941–946  ·  view source on GitHub ↗
(BiConsumer<? super K, ? super V> action)

Source from the content-addressed store, hash-verified

939 }
940
941 @Override
942 public void forEach(BiConsumer<? super K, ? super V> action) {
943 checkNotNull(action);
944 // avoids allocation of entries
945 backingSet().forEach(k -> action.accept(k, function.apply(k)));
946 }
947 }
948
949 static <K extends @Nullable Object, V extends @Nullable Object>

Callers

nothing calls this directly

Calls 5

backingSetMethod · 0.95
forEachMethod · 0.65
acceptMethod · 0.65
applyMethod · 0.65
checkNotNullMethod · 0.45

Tested by

no test coverage detected