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

12
LINES

< > BotCompany Repo | #1017317 // combinedMechSetsCI

JavaX fragment (include)

static Set<S> combinedMechSetsCI(S... listNames) {
  ret combinedMechSetsCI(asList(listNames));
}

static Set<S> combinedMechSetsCI(Collection<S> listNames) {
  if (empty(listNames)) ret ciSet();
  if (l(listNames) == 1) ret mechSetCI(first(listNames));
  Set<S> set = ciSet();
  for (S listName : listNames)
    set.addAll(mL(listName));
  ret set;
}

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: 391 / 434
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)