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

Method apply

output/java_guava/1.4.17/Maps.java:2706–2713  ·  view source on GitHub ↗
(@Nullable Object key, @Nullable V value)

Source from the content-addressed store, hash-verified

2704 }
2705
2706 boolean apply(@Nullable Object key, @Nullable V value) {
2707 // This method is called only when the key is in the map, implying that
2708 // key is a K.
2709
2710 @SuppressWarnings("unchecked")
2711 K k = (K) key;
2712 return predicate.apply(Maps.immutableEntry(k, value));
2713 }
2714
2715 @Override
2716 public V put(K key, V value) {

Callers 4

putMethod · 0.95
putAllMethod · 0.95
containsKeyMethod · 0.95
getMethod · 0.95

Calls 2

immutableEntryMethod · 0.95
applyMethod · 0.65

Tested by

no test coverage detected