static Map getSnippetTitles_cached(Collection ids) ctex { new L remaining; new HashMap map; for (S id : ids) { S title = getSnippetTitle_cached_probe(id); if (title != null) map.put(fsI(id), title); else remaining.add(id); } SS map2 = getSnippetTitles(remaining); for (S id : keys(map2)) getSnippetTitle_cached_put(id, map2.get(id)); map.putAll(map2); ret map; }