1 | static int indexOfNotStartingWith(L<S> l, S s) { |
2 | ret indexOfNotStartingWith(l, s, 0); |
3 | } |
4 | |
5 | static int indexOfNotStartingWith(L<S> l, S s, int i) { |
6 | for (; i < l(l); i++) |
7 | if (!startsWith(l.get(i), s)) |
8 | ret i; |
9 | ret -1; |
10 | } |
Began life as a copy of #1003993
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: | #1007926 |
Snippet name: | indexOfNotStartingWith |
Eternal ID of this version: | #1007926/1 |
Text MD5: | 65d8fe10ee75b1caa169f80b6e062b1b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-17 16:46:35 |
Source code size: | 238 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 515 / 552 |
Referenced in: | [show references] |