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

8
LINES

< > BotCompany Repo | #1012570 // listWithoutIC - synonym of minus - get list without certain strings (ignoring case)

JavaX fragment (include)

static L<S> listWithoutIC(L<S> a, S... b) {
  Set set = litCISet(b);
  new L l;
  for (S s : a)
    if (!set.contains(s))
      l.add(s);
  ret l;
}

Author comment

Began life as a copy of #1007690

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: #1012570
Snippet name: listWithoutIC - synonym of minus - get list without certain strings (ignoring case)
Eternal ID of this version: #1012570/3
Text MD5: 926046816fdf9beec50d7c611a355fc3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-07 13:49:09
Source code size: 155 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 374 / 417
Version history: 2 change(s)
Referenced in: [show references]