code: public void remove() {
  
      BasicDoubleLinkedNode<V> next = getNext();
      if (next != null) {
        next.previous = this.previous;
      }
      if (this.previous != null) {
        this.previous.setNext(next);
      }
    }
docs: This method removes this node from the double linked list.