void () { if (modCount != 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()"); } AttributeList.this.remove(--cursor); expect = modCount; canremove = false; }