text: 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();}}