MCPcopy Index your code
hub / github.com/davidgiven/luje / remove

Method remove

lib/java/util/TreeMap.java:1226–1235  ·  view source on GitHub ↗
(Object object)

Source from the content-addressed store, hash-verified

1224 }
1225
1226 @Override
1227 public boolean remove(Object object) {
1228 if (contains(object)) {
1229 Map.Entry<K, V> entry = (Map.Entry<K, V>) object;
1230 K key = entry.getKey();
1231 TreeMap.this.remove(key);
1232 return true;
1233 }
1234 return false;
1235 }
1236
1237 @Override
1238 public Iterator<Map.Entry<K, V>> iterator() {

Callers

nothing calls this directly

Calls 8

containsMethod · 0.95
toComparableMethod · 0.95
cmpMethod · 0.95
removeLeftmostMethod · 0.95
removeRightmostMethod · 0.95
removeMiddleElementMethod · 0.95
getKeyMethod · 0.65
removeMethod · 0.65

Tested by

no test coverage detected