1 | static int smartIndexOfAnyIC(LS l, int i, S... x) { |
2 | while (i < l(l)) |
3 | if (eqicOneOf(l.get(i), x)) ret i; else ++i; |
4 | ret l(l); |
5 | } |
6 | |
7 | static int smartIndexOfAnyIC(LS l, S... x) { |
8 | ret smartIndexOfAnyIC(l, 0, x); |
9 | } |
Began life as a copy of #1008434
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025632 |
Snippet name: | smartIndexOfAnyIC - index of one of multiple elements |
Eternal ID of this version: | #1025632/1 |
Text MD5: | 36f3d8e534f545c6d08e988c6fedc694 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-10-10 01:26:56 |
Source code size: | 223 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 220 / 250 |
Referenced in: | [show references] |