private <K,V> Map<K,V> createMap(Comparator<K> comparator)
	{
		
		
		
		Map<K,V> rs;
		if(comparator != null)
		{
			rs = new TreeMap<K,V>(comparator);
		}
		
		else
		{
			rs = new HashMap<K,V>();
		}
		
		
		//Map<K,V> rs = comparator != null ? new TreeMap<K,V>(comparator) : new HashMap<K,V>();
		return rs;
	}