1 | static int lastIndexOfStartsWith(L<S> l, S s) { |
2 | for (int i = l(l)-1; i >= 0; i--) |
3 | if (startsWith(l.get(i), s)) |
4 | ret i; |
5 | ret -1; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003980 |
Snippet name: | lastIndexOfStartsWith |
Eternal ID of this version: | #1003980/1 |
Text MD5: | e15016d594ffc96e1e522b5b2164bcaf |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-07-31 23:39:03 |
Source code size: | 146 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 510 / 478 |
Referenced in: | [show references] |