Libraryless. Click here for Pure Java version (4215L/24K).
static <A, B, C extends Cl<B>> MultiMap<A, B> mapToMultiMapValues(Iterable<A> l, IF1<A, C> f) { new MultiMap<A, B> mm; fOr (a : l) mm.putAll(a, f.get(a)); ret mm; }
Began life as a copy of #1021879
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1032786 |
| Snippet name: | mapToMultiMapValues |
| Eternal ID of this version: | #1032786/5 |
| Text MD5: | 2580d3a0f0f9a74e6073722e604de6f4 |
| Transpilation MD5: | a5b16c69f01e0a1cad39b90de74e08b6 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-06 04:42:26 |
| Source code size: | 179 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 395 / 495 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |