static <A, B> MultiMap<A, B> pairsToMultiMap(Iterable<Pair<A, B>> l) { new MultiMap<A, B> mm; for (Pair<A, B> p : unnull(l)) mm.put(p.a, p.b); ret mm; }
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: | 305 / 372 |
Version history: | 2 change(s) |
Referenced in: | [show references] |