1 | static int indexOfAnyIC(L<S> l, int i, S... x) { |
2 | while (i < l(l)) |
3 | if (eqOneOf(l.get(i), x)) ret i; else ++i; |
4 | ret -1; |
5 | } |
Began life as a copy of #1007655
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: | #1012969 |
Snippet name: | indexOfAnyIC - index of one of multiple elements (ignoring case) |
Eternal ID of this version: | #1012969/1 |
Text MD5: | 96d8f762ea9512ffdb16cd6db4acef67 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-18 23:24:02 |
Source code size: | 130 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 467 / 504 |
Referenced in: | [show references] |