static int indexOfTrim(L<S> l, S a, int startIndex) { if (l != null && a != null) { a = trim(a); for (int i = startIndex; i < l(l); i++) if (eq(trim(l.get(i)), a)) ret i; } ret -1; } static int indexOfTrim(L<S> l, S a) { ret indexOfTrim(l, a, 0); }
Began life as a copy of #1001878
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1008874 |
| Snippet name: | indexOfTrim - find trimmed line |
| Eternal ID of this version: | #1008874/4 |
| Text MD5: | a6bab26c21ee02ea1b0df65af6d557ff |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-01-02 13:23:23 |
| Source code size: | 291 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 718 / 782 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |