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

9
LINES

< > BotCompany Repo | #1010285 // cicOneOf - contains ignore case, multiple checks

JavaX fragment (include)

static bool cicOneOf(S s, S... l) {
  for (S x : l) if (cic(s, x)) ret true; ret false;
}

static bool cicOneOf(Collection<S> l, S... bla) {
  for (S x : unnull(l))
    if (eqicOneOf(x, bla)) true;
  false;
}

Author comment

Began life as a copy of #1003652

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1010285
Snippet name: cicOneOf - contains ignore case, multiple checks
Eternal ID of this version: #1010285/4
Text MD5: 400abb62868bdc843bdf94f937e5285d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-22 23:07:00
Source code size: 216 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 539 / 598
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1024517 - cicOneOf_underCollapse