1 | static int smartIndexOfIC(L<S> l, S sub) {
|
2 | ret smartIndexOfIC(l, sub, 0); |
3 | } |
4 | |
5 | static int smartIndexOfIC(L<S> l, S sub, int start) {
|
6 | int i = indexOfIC(l, sub, start); |
7 | ret i < 0 ? l(l) : i; |
8 | } |
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: | 652 / 673 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |