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

19
LINES

< > BotCompany Repo | #1012626 // has_multi

JavaX fragment (include)

1  
static bool has_multi(L<S> a, L<S> b, L<S> c) {
2  
  for (S _a : a)
3  
    for (S _b : b)
4  
      for (S _c : c)
5  
        if (has(_a, _b, _c)) true;
6  
  false;
7  
}
8  
9  
static bool has_multi(S a, L<S> b, S c) {
10  
  ret has_multi(ll(a), b, ll(c));
11  
}
12  
13  
static bool has_multi(L<S> a, L<S> b, S c) {
14  
  ret has_multi(a, b, ll(c));
15  
}
16  
17  
static bool has_multi(L<S> a, S b, L<S> c) {
18  
  ret has_multi(a, ll(b), c);
19  
}

Author comment

Began life as a copy of #1012596

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: #1012626
Snippet name: has_multi
Eternal ID of this version: #1012626/3
Text MD5: 4d2dffe2ad107885c8158d6213f90b03
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-08 17:31:02
Source code size: 403 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 367 / 371
Version history: 2 change(s)
Referenced in: [show references]