Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1028770 // multiSetDuplicates - in original order

JavaX fragment (include)

static <A> L<A> multiSetDuplicates(MultiSet<A> ms) {
  if (ms == null) null;
  ret filter(keys(ms), a -> ms.get(a) > 1);
}

Author comment

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: 101 / 137
Referenced in: [show references]