static int smartIndexOfIC(L<S> l, S sub) { ret smartIndexOfIC(l, sub, 0); } static int smartIndexOfIC(L<S> l, S sub, int start) { int i = indexOfIC(l, sub, start); ret i < 0 ? l(l) : i; }
Began life as a copy of #1002497
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: | #1013159 |
| Snippet name: | smartIndexOfIC - returns l(s) if not found |
| Eternal ID of this version: | #1013159/2 |
| Text MD5: | b3bf0f3895404615f61790b7eed5a851 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-04-12 18:06:05 |
| Source code size: | 201 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 648 / 668 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |