1 | static <A, B> LL<B> multiValuesAsListOfLists(MultiMap<A, B> mm) { |
2 | if (mm == null) null; |
3 | new LL<B> out; |
4 | for (A key : mm.keySet()) { |
5 | L<B> l = mm.get(key); |
6 | if (l(l) > 1) |
7 | out.add(cloneList(l)); |
8 | } |
9 | ret out; |
10 | } |
Began life as a copy of #1004755
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: | #1023431 |
Snippet name: | multiValuesAsListOfLists |
Eternal ID of this version: | #1023431/3 |
Text MD5: | f0a7822f9c4da3943ebbdf2839d6a83c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-06-21 16:46:01 |
Source code size: | 235 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 218 / 255 |
Version history: | 2 change(s) |
Referenced in: | [show references] |