end = null;
end = e;
  final public void removeNext(OPT_LinkedListElement e) {    // update end if needed    if (end == e.getNext())      end = null;    // remove the element    e.next = e.getNext().getNext();  }