Libraryless. Click here for Pure Java version (3183L/19K).
static <A, B> LPair<A, Int> multiSetMapToMultiSetPairs(MultiSetMap<A, B> mm) { new LPair<A, Int> out; for (A a : keys(mm)) out.add(pair(a, l(mm.get(a)))); ret out; }
Began life as a copy of #1026152
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031667 |
| Snippet name: | multiSetMapToMultiSetPairs |
| Eternal ID of this version: | #1031667/3 |
| Text MD5: | 393cd598452b862459d7fba0d422faf5 |
| Transpilation MD5: | 4a5213e3a4ce84ebde02d9d9198d5c4c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-25 10:33:09 |
| Source code size: | 180 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 397 / 528 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |