1 | static Map mapKeysAndValues_litOrderedMap(O f, Map map) { |
2 | ret mapKeysAndValues_litOrderedMap(f, f, map); |
3 | } |
4 | |
5 | static Map mapKeysAndValues_litOrderedMap(O fKey, O fValue, Map map) { |
6 | new LinkedHashMap m; |
7 | for (O key : keys(map)) |
8 | m.put(callF(fKey, key), callF(fValue, map.get(key))); |
9 | ret m; |
10 | } |
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: | #1008376 |
Snippet name: | mapKeysAndValues_litOrderedMap |
Eternal ID of this version: | #1008376/3 |
Text MD5: | 3aaee17979dc903f7d6d0c2e0428d4ee |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-05-10 01:12:05 |
Source code size: | 307 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 544 / 532 |
Version history: | 2 change(s) |
Referenced in: | [show references] |