public void remove() {if (last == null) {throw new IllegalStateException();}removeInternal(last);expectedModCount = modCount;last = null;}
public virtual void remove(){if (this.last == null){throw new System.InvalidOperationException();}this._enclosing.removeInternal(this.last);this.expectedModCount = this._enclosing.modCount;this.last = null;}