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

12
LINES

< > BotCompany Repo | #1017317 // combinedMechSetsCI

JavaX fragment (include)

1  
static Set<S> combinedMechSetsCI(S... listNames) {
2  
  ret combinedMechSetsCI(asList(listNames));
3  
}
4  
5  
static Set<S> combinedMechSetsCI(Collection<S> listNames) {
6  
  if (empty(listNames)) ret ciSet();
7  
  if (l(listNames) == 1) ret mechSetCI(first(listNames));
8  
  Set<S> set = ciSet();
9  
  for (S listName : listNames)
10  
    set.addAll(mL(listName));
11  
  ret set;
12  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017317
Snippet name: combinedMechSetsCI
Eternal ID of this version: #1017317/4
Text MD5: 093a48b490d40102a918502151ad815f
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-24 18:48:32
Source code size: 362 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 330 / 373
Version history: 3 change(s)
Referenced in: [show references]