public void deleteNode(LinkedListNode<T> node) {
        if(node == null);//return null;
        else if(node.next == null) {
        	LinkedListNode<T> p = head;
        	while (p.next != node) p = p.next;
        	tail = p;
        }

        LinkedListNode<T> next = node.next;
        node.data = next.data;
        node.next = next.next;
    }