static public <K,V> V nthValue(Map<K,V> map, int n) {
		if (map == null) return null;
		int c=0;
		for (Map.Entry<K, V> entry : map.entrySet()) {
			if (c == n) return entry.getValue();
			c++;
		}
		return null;
	}