Libraryless. Click here for Pure Java version (4471L/25K).
static <A, B> ItIt<Pair<A, B>> multiMapPairIterator(MultiMap<A, B> mm) { ret nestedIterator(iterator(keys(mm.data)), key -> (ItIt<Pair<A,B>>) mapI(iterator(mm.data.get(key)), val -> pair(key, val))); }
Began life as a copy of #1013540
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032523 |
Snippet name: | multiMapPairIterator [OK but can be optimized] |
Eternal ID of this version: | #1032523/5 |
Text MD5: | ceb975e36f1e51c54c3ddab58574c285 |
Transpilation MD5: | 2901039c0c55ca5a8bd2ec352a0f3a00 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-14 18:28:51 |
Source code size: | 210 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 192 / 270 |
Version history: | 4 change(s) |
Referenced in: | [show references] |