1 | static <A, B> MultiMap<A, B> pairsToMultiMap(Iterable<Pair<A, B>> l) { |
2 | new MultiMap<A, B> mm; |
3 | for (Pair<A, B> p : unnull(l)) |
4 | mm.put(p.a, p.b); |
5 | ret mm; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
Snippet ID: | #1020567 |
Snippet name: | pairsToMultiMap |
Eternal ID of this version: | #1020567/3 |
Text MD5: | 6c27dfbfa694539aee9a9125622cd6e3 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-12-30 19:53:34 |
Source code size: | 167 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 307 / 375 |
Version history: | 2 change(s) |
Referenced in: | [show references] |