void () { if (getModCount() != expect) { throw new ConcurrentModificationException("ContentList was " + "modified outside of this Iterator"); } if (!canremove) { throw new IllegalStateException("Can only remove() content " + "after a call to next()"); } canremove = false; ContentList.this.remove(--cursor); expect = getModCount(); }