static Map<S, S> getSnippetTitles_cached(Collection<S> ids) ctex { new L<S> remaining; new HashMap<S, S> 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; }
Began life as a copy of #1003764
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009352 |
Snippet name: | getSnippetTitles_cached - returns formatted snippet IDs as keys |
Eternal ID of this version: | #1009352/4 |
Text MD5: | 49140863cae3addd1aa42dc9ddfdbe10 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-07-24 16:35:10 |
Source code size: | 439 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 471 / 525 |
Version history: | 3 change(s) |
Referenced in: | [show references] |