MCPcopy Index your code
hub / github.com/antlr/codebuff / remove

Method remove

output/java_guava/1.4.17/Maps.java:3871–3884  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

3869 }
3870
3871 @Override
3872 public boolean remove(Object o) {
3873 try {
3874 return super.remove(o);
3875 } catch (UnsupportedOperationException e) {
3876 for (Entry<K, V> entry : map().entrySet()) {
3877 if (Objects.equal(o, entry.getValue())) {
3878 map().remove(entry.getKey());
3879 return true;
3880 }
3881 }
3882 return false;
3883 }
3884 }
3885
3886 @Override
3887 public boolean removeAll(Collection<?> c) {

Callers

nothing calls this directly

Calls 6

mapMethod · 0.95
equalMethod · 0.95
removeMethod · 0.65
entrySetMethod · 0.65
getValueMethod · 0.65
getKeyMethod · 0.65

Tested by

no test coverage detected