// name -> (text, parsed map) static Map<S, Pair<S, MultiMap<S, Pair<S>>>> mechMultiMapPairsCI_cache = synchroMap(); static MultiMap<S, Pair<S>> mechMultiMapPairsCI(S listName) { Pair<S, MultiMap<S, Pair<S>>> p = mechMultiMapPairsCI_cache.get(listName); S text = mechList_opt_raw(listName); if (p != null && eq(p.a, text)) ret p.b; MultiMap<S, Pair<S>> map = toPairsCIMultiMap(parseDoubleArrowMultiMap(new MultiMap, tlft(text))); p = pair(text, map); mechMultiMapPairsCI_cache.put(listName, p); ret p.b; }
Began life as a copy of #1016354
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016464 |
Snippet name: | mechMultiMapPairsCI - mech list as case-insensitive "pairs" multimap (to allow CI lookup but preserve original spelling) |
Eternal ID of this version: | #1016464/3 |
Text MD5: | cf43f784617ca3321e8c4e3c6a2516bd |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-19 15:07:12 |
Source code size: | 531 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 383 / 427 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |