public void removeNode(DoublyNode<T> node)
	{	
		if(node != null)
		{
			DoublyNode<T> prevNode = node.getPrevNode();
				
			if(prevNode != null)
			{
				prevNode.setNextNode(node.getNextNode());
				node.getNextNode().setPrevNode(prevNode);
			}
			else if(node.getNextNode() != null)
				node.getPrevNode().setPrevNode(null);
            else
            {
                // List is empty now
                setListHead(null);
                setListTail(null);
            }
		}
	}