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

19
LINES

< > BotCompany Repo | #1012626 // has_multi

JavaX fragment (include)

static bool has_multi(L<S> a, L<S> b, L<S> c) {
  for (S _a : a)
    for (S _b : b)
      for (S _c : c)
        if (has(_a, _b, _c)) true;
  false;
}

static bool has_multi(S a, L<S> b, S c) {
  ret has_multi(ll(a), b, ll(c));
}

static bool has_multi(L<S> a, L<S> b, S c) {
  ret has_multi(a, b, ll(c));
}

static bool has_multi(L<S> a, S b, L<S> c) {
  ret has_multi(a, ll(b), c);
}

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: 364 / 367
Version history: 2 change(s)
Referenced in: [show references]