public void add(ET object) {if (expectedModCount == list.modCount) {Link<ET> next = link.next;Link<ET> newLink = new Link<ET>(object, link, next);link.next = newLink;next.previous = newLink;link = newLink;lastLink = null;pos++;expectedModCount++;list.size++;list.modCount++;} else {throw new ConcurrentModificationException();}}
public void add(ET @object){if (expectedModCount == list.modCount){java.util.LinkedList.Link<ET> next_1 = link.next;java.util.LinkedList.Link<ET> newLink = new java.util.LinkedList.Link<ET>(@object, link, next_1);link.next = newLink;next_1.previous = newLink;link = newLink;lastLink = null;pos++;expectedModCount++;list._size++;list.modCount++;}else{throw new java.util.ConcurrentModificationException();}}