static L mapList_getOrKeep(Collection l, Map map) { new L x; if (l != null) for (A a : l) x.add(getOrKeep(map, a)); ret x; }