static <A, B> Map<A, Int> multiMapKeysAndCount(final MultiMap<A, B> mm) { if (mm == null) null; Map<A, Int> out = similarEmptyMap(mm.data); for (A key : keys(mm)) out.put(key, l(mm.get(key))); ret out; }
Began life as a copy of #1011317
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1022497 | 
| Snippet name: | multiMapKeysAndCount - makes a similar map | 
| Eternal ID of this version: | #1022497/2 | 
| Text MD5: | 62f36130f4b88d23951cc2051e183756 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2019-03-19 11:00:08 | 
| Source code size: | 221 bytes / 7 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 486 / 495 | 
| Version history: | 1 change(s) | 
| Referenced in: | [show references] |