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

Method keyPredicateOnEntries

corpus/java/training/guava/collect/Maps.java:2191–2193  ·  view source on GitHub ↗
(Predicate<? super K> keyPredicate)

Source from the content-addressed store, hash-verified

2189 }
2190
2191 static <K> Predicate<Entry<K, ?>> keyPredicateOnEntries(Predicate<? super K> keyPredicate) {
2192 return compose(keyPredicate, Maps.<K>keyFunction());
2193 }
2194
2195 static <V> Predicate<Entry<?, V>> valuePredicateOnEntries(Predicate<? super V> valuePredicate) {
2196 return compose(valuePredicate, Maps.<V>valueFunction());

Callers 9

filterKeysMethod · 0.95
removeIfMethod · 0.95
removeAllMethod · 0.95
retainAllMethod · 0.95
removeAllMethod · 0.95
retainAllMethod · 0.95
retainAllMethod · 0.95
filterKeysMethod · 0.95
entryPredicateMethod · 0.95

Calls 2

keyFunctionMethod · 0.95
composeMethod · 0.45

Tested by

no test coverage detected