1 | static <A> L<A> multiSetDuplicates(MultiSet<A> ms) { |
2 | if (ms == null) null; |
3 | ret filter(keys(ms), a -> ms.get(a) > 1); |
4 | } |
Began life as a copy of #1028175
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028770 |
Snippet name: | multiSetDuplicates - in original order |
Eternal ID of this version: | #1028770/1 |
Text MD5: | b6842a7b6a6d1cebc02999d9e1f55267 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-08 00:56:43 |
Source code size: | 125 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 205 / 224 |
Referenced in: | [show references] |