public LinkedListNode<E> insert(LinkedListNode<E> next, LinkedListNode<E> previous) {
        this.next = next;
        this.previous = previous;
        this.previous.next = this.next.previous = this;
        return this;
    }
Inserts this node into the linked list that it will be a part of.
@param next     a reference to the next LinkedListNode in the list.
@param previous a reference to the previous LinkedListNode in the list.
@return This node, updated to reflect previous/next changes
xmppserver/src/main/java/org/jivesoftware/util/LinkedListNode.java