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

7
LINES

< > BotCompany Repo | #1026575 - concatToCIMultiSet

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2699L/16K).

1  
static MultiSet<S> concatToCIMultiSet(Collection<? extends Iterable<S>> lists) {
2  
  MultiSet<S> ms = ciMultiSet();
3  
  for (Iterable<S> list : lists)
4  
    fOr (S s : list)
5  
      ms.add(s);
6  
  ret ms;
7  
}

Author comment

Began life as a copy of #1026302

download  show line numbers  debug dex   

Travelled to 3 computer(s): mqqgnosmbjvj, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026575
Snippet name: concatToCIMultiSet
Eternal ID of this version: #1026575/3
Text MD5: 4fb474fb39d06077c587d9cdf0ab58f8
Transpilation MD5: 5972ee9bd5f951c867454f066f537c6e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-14 18:52:23
Source code size: 204 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 15 / 27
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1026575 & http://1026575.tinybrain.de