@SuppressWarnings("unchecked")
	private void rehash()
	{
		int newBuckets = nBuckets*2;
		ListNode<T> newHtbl[] = new ListNode[newBuckets];
		for(int i=0;i<newBuckets;i++)
		{
			newHtbl[i] = new ListNode<T>();
		}
		for(int i=0;i<nBuckets;i++)
		{
			ListNode<T> curreNode = htbl[i];
			
			
			if(curreNode == null)
			{
				continue;
			}
			while(curreNode.next!=null)
			{
				T element = curreNode.element;
				int key = hashCode(element);
				listAdd(newHtbl[key], element);

			}
		
			
			
				
		}
		
		
	}