static int indexOfStartsWith(L<S> l, S s) { ret indexOfStartsWith(l, s, 0); } static int indexOfStartsWith(L<S> l, S s, int i) { for (; i < l(l); i++) if (startsWith(l.get(i), s)) ret i; ret -1; }
Began life as a copy of #1003980
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1003993 |
Snippet name: | indexOfStartsWith |
Eternal ID of this version: | #1003993/1 |
Text MD5: | f42c2cb8b6f54ff5eca3c1a8c902b753 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-01 22:38:53 |
Source code size: | 222 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 617 / 612 |
Referenced in: | [show references] |