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

Method apply

output/java_guava/1.4.19/Maps.java:2708–2715  ·  view source on GitHub ↗
(@Nullable Object key, @Nullable V value)

Source from the content-addressed store, hash-verified

2706 }
2707
2708 boolean apply(@Nullable Object key, @Nullable V value) {
2709 // This method is called only when the key is in the map, implying that
2710 // key is a K.
2711
2712 @SuppressWarnings("unchecked")
2713 K k = (K) key;
2714 return predicate.apply(Maps.immutableEntry(k, value));
2715 }
2716
2717 @Override
2718 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