1 | static MultiMap<S, Pair<S>> toPairsCIMultiMap(MultiMap<S> mm) { |
2 | MultiMap<S, Pair<S>> mm2 = ciMultiMap(); |
3 | for (S key : keys(mm)) |
4 | for (S value : mm.get(key)) |
5 | mm2.put(key, pair(key, value)); |
6 | ret mm2; |
7 | } |
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: | #1016465 |
Snippet name: | toPairsCIMultiMap |
Eternal ID of this version: | #1016465/3 |
Text MD5: | 8422199683e6b2c0dce319fe96a2b62f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-19 15:11:58 |
Source code size: | 220 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 388 / 437 |
Version history: | 2 change(s) |
Referenced in: | [show references] |