static <A, B> MultiSetMap<B, A> reversedOrderedMultiSetMap(MultiMap<A, B> map) { MultiSetMap<B, A> mm = orderedMultiSetMap(); for (A key : keys(map)) for (B value : map.get(key)) mm.put(value, key); ret mm; }
Began life as a copy of #1034843
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034845 |
Snippet name: | reversedOrderedMultiSetMap |
Eternal ID of this version: | #1034845/1 |
Text MD5: | 7a9ab0957b4b1c31605c68e2f8b2939e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-11 04:21:18 |
Source code size: | 230 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 116 / 139 |
Referenced in: | [show references] |