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

Method forEach

guava/src/com/google/common/collect/Maps.java:3896–3901  ·  view source on GitHub ↗
(Consumer<? super K> action)

Source from the content-addressed store, hash-verified

3894 }
3895
3896 @Override
3897 public void forEach(Consumer<? super K> action) {
3898 checkNotNull(action);
3899 // avoids entry allocation for those maps that allocate entries on iteration
3900 map.forEach((k, v) -> action.accept(k));
3901 }
3902
3903 @Override
3904 public int size() {

Callers

nothing calls this directly

Calls 3

forEachMethod · 0.65
acceptMethod · 0.65
checkNotNullMethod · 0.45

Tested by

no test coverage detected