static int smartIndexOfAfter(S a, S b) { int i = indexOf(a, b); ret i >= 0 ? i+l(b) : l(a); }
Began life as a copy of #1009200
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: | #1013030 |
| Snippet name: | smartIndexOfAfter - return index of character after match |
| Eternal ID of this version: | #1013030/1 |
| Text MD5: | 51d45d047a28cccd6679096edf429b3a |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-22 12:34:21 |
| Source code size: | 100 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 618 / 641 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |