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

Method remove

output/java_guava/1.4.19/Maps.java:2768–2773  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

2766 }
2767
2768 @Override
2769 public boolean remove(Object o) {
2770 return Iterables.removeFirstMatching(
2771 unfiltered.entrySet(),
2772 Predicates.<Entry<K, V>>and(predicate, Maps.<V>valuePredicateOnEntries(equalTo(o)))) != null;
2773 }
2774
2775 private boolean removeIf(Predicate<? super V> valuePredicate) {
2776 return Iterables.removeIf(

Callers

nothing calls this directly

Calls 5

removeFirstMatchingMethod · 0.95
andMethod · 0.95
entrySetMethod · 0.65
equalToMethod · 0.45

Tested by

no test coverage detected