8 * Return the value of the first key that exists in the map and has a non-null
11 public static <K, V> V getFirst(Map<K, V> map, K... keys)
13 return getFirst(false, map, keys);
17 * Return the value of the first key that exists in the map - optionally
18 * limiting to only returning non-null values for first extant key encountered
20 public static <K, V> V getFirst(boolean nonNull, Map<K, V> map, K... keys)
24 if (map.containsKey(key))
26 if (!(nonNull && (map.get(key) == null)))
40 * peeks in to the map and returns true if one of a bunch of keys is contained
48 public static <K> boolean containsAKey(Map<K, ?> map, K... keys)
52 if (map.containsKey(key))