1 | static L<S> listWithoutIC(L<S> a, S... b) { |
2 | Set set = litCISet(b); |
3 | new L l; |
4 | for (S s : a) |
5 | if (!set.contains(s)) |
6 | l.add(s); |
7 | ret l; |
8 | } |
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: | 375 / 419 |
Version history: | 2 change(s) |
Referenced in: | [show references] |