Libraryless. Click here for Pure Java version (2578L/16K).
static <A, B> MultiSet<A> multiMapKeysMultiSet(final MultiMap<A, B> mm) { if (mm == null) null; MultiSet<A> out = similarEmptyMultiSet(mm.data); for (A key : keys(mm)) out.add(key, l(mm.get(key))); ret out; }
Began life as a copy of #1022497
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024155 |
| Snippet name: | multiMapKeysMultiSet |
| Eternal ID of this version: | #1024155/3 |
| Text MD5: | 9b752a5a8a7e83961febda2aaf82037e |
| Transpilation MD5: | 5eddcfc0104e7d5fef22b7d3fc34991f |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-07-23 17:54:45 |
| Source code size: | 226 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 489 / 650 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |