static L keysForValuePredicate(Map map, IF1 pred) { new L l; if (map != null) for (A key, B value : map) if (pred.get(value)) l.add(key); ret l; }