src/main/java/com/zandero/utils/MapUtils.java
public static <T> T firstValue(Map<String, T> map) {

		if (map == null || map.size() == 0) {
			return null;
		}

		String firstKey = map.keySet().iterator().next();
		return map.get(firstKey);
	}
public static <T> T firstValue(Map<String, T> map) {

		if (map == null || map.size() == 0) {
			return null;
		}

		String firstKey = map.keySet().iterator().next();
		return map.get(firstKey);
	}
Returns first value in map as given by the iterator or null if empty

@param map to get first value out
@param <T> object type of result
@return first value in map or null if null or empty