MCPcopy Create free account
hub / github.com/davidgiven/luje / remove

Method remove

lib/java/util/TreeMap.java:215–228  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213 }
214
215 final public void remove() {
216 if (expectedModCount == backingMap.modCount) {
217 if (lastNode != null) {
218 int idx = lastNode.right_idx - lastOffset;
219 backingMap.removeFromIterator(lastNode, idx);
220 lastNode = null;
221 expectedModCount++;
222 } else {
223 throw new IllegalStateException();
224 }
225 } else {
226 throw new ConcurrentModificationException();
227 }
228 }
229 }
230
231 static class UnboundedEntryIterator <K, V> extends AbstractMapIterator<K, V>

Callers

nothing calls this directly

Calls 1

removeFromIteratorMethod · 0.80

Tested by

no test coverage detected