public void set(E object) {if (expectedModCount == modCount) {try {AbstractList.this.set(lastPosition, object);} catch (IndexOutOfBoundsException e) {throw new IllegalStateException();}} else {throw new ConcurrentModificationException();}}
public void set(E @object){if (this.expectedModCount == this._enclosing.modCount){try{this._enclosing.set(this.lastPosition, @object);}catch (System.IndexOutOfRangeException){throw new System.InvalidOperationException();}}else{throw new java.util.ConcurrentModificationException();}}