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)

1  
static bool cicOneOf(S s, S... l) {
2  
  for (S x : l) if (cic(s, x)) ret true; ret false;
3  
}
4  
5  
static bool cicOneOf(Collection<S> l, S... bla) {
6  
  for (S x : unnull(l))
7  
    if (eqicOneOf(x, bla)) true;
8  
  false;
9  
}

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: 540 / 600
Version history: 3 change(s)
Referenced in: [show references]