1 | static int lastIndexOfStartingWith(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 | } |
Began life as a copy of #1007926
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: | #1013850 |
| Snippet name: | lastIndexOfStartingWith |
| Eternal ID of this version: | #1013850/1 |
| Text MD5: | f8ee478d060a66b938e4851c9832e658 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-03-06 21:04:49 |
| Source code size: | 148 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 673 / 693 |
| Referenced in: | [show references] |