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

21
LINES

< > BotCompany Repo | #1012596 // ai_texts_multi

JavaX fragment (include)

1  
static L<S> ai_texts_multi(L<S> a, L<S> b, L<S> c) {
2  
  new LinkedHashSet<S> l;
3  
  if (!empty(a) &&!empty(b) && !empty(c))
4  
    for (S _a : a)
5  
      for (S _b : b)
6  
        for (S _c : c)
7  
          l.addAll(ai_texts(_a, _b, _c));
8  
  ret cloneList(l);
9  
}
10  
11  
static L<S> ai_texts_multi(S a, L<S> b, S c) {
12  
  ret ai_texts_multi(ll(a), b, ll(c));
13  
}
14  
15  
static L<S> ai_texts_multi(L<S> a, L<S> b, S c) {
16  
  ret ai_texts_multi(a, b, ll(c));
17  
}
18  
19  
static L<S> ai_texts_multi(S a, S b, L<S> c) {
20  
  ret ai_texts_multi(ll(a), ll(b), c);
21  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1012596
Snippet name: ai_texts_multi
Eternal ID of this version: #1012596/6
Text MD5: 39e9a83d0a8c1ee78b0da6181955ffae
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-13 20:06:43
Source code size: 537 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 409 / 439
Version history: 5 change(s)
Referenced in: [show references]