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

Method apply

output/java_guava/1.4.17/Maps.java:3191–3194  ·  view source on GitHub ↗
(Entry<V, K> input)

Source from the content-addressed store, hash-verified

3189 private static <K, V> Predicate<Entry<V, K>> inversePredicate(final Predicate<? super Entry<K, V>> forwardPredicate) {
3190 return new Predicate<Entry<V, K>>() {
3191 @Override
3192 public boolean apply(Entry<V, K> input) {
3193 return forwardPredicate.apply(Maps.immutableEntry(input.getValue(), input.getKey()));
3194 }
3195 };
3196 }
3197

Callers 1

forcePutMethod · 0.95

Calls 4

immutableEntryMethod · 0.95
applyMethod · 0.65
getValueMethod · 0.65
getKeyMethod · 0.65

Tested by

no test coverage detected