public E next() {if (expectedModCount == modCount) {try {E result = get(pos + 1);lastPosition = ++pos;return result;} catch (IndexOutOfBoundsException e) {throw new NoSuchElementException();}}throw new ConcurrentModificationException();}

public virtual E next(){if (this.expectedModCount == this._enclosing.modCount){try{E result = this._enclosing.get(this.pos + 1);this.lastPosition = ++this.pos;return result;}catch (System.IndexOutOfRangeException){throw new java.util.NoSuchElementException();}}throw new java.util.ConcurrentModificationException();}
