1 | static <A, B, C extends Collection<B>> MultiMap<A, B> pseudoToRealMultiMap(Map<A, C> map) { |
2 | new MultiMap mm; |
3 | for (A key : keys(map)) |
4 | mm.putAll(key, map.get(key)); |
5 | ret mm; |
6 | } |
Began life as a copy of #1004754
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: | #1022630 |
Snippet name: | pseudoToRealMultiMap |
Eternal ID of this version: | #1022630/1 |
Text MD5: | ea90b942e431e65a2627f1c8282bf867 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-25 13:29:33 |
Source code size: | 187 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 281 / 328 |
Referenced in: | [show references] |