1 | static int indexOfStartsWithIC(L<S> l, S s) { |
2 | ret indexOfStartsWithIC(l, s, 0); |
3 | } |
4 | |
5 | static int indexOfStartsWithIC(L<S> l, S s, int i) { |
6 | for (; i < l(l); i++) |
7 | if (swic(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 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020453 |
Snippet name: | indexOfStartsWithIC |
Eternal ID of this version: | #1020453/1 |
Text MD5: | 999608d360708e31da9c324766f1a4f7 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-22 18:38:53 |
Source code size: | 222 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 321 / 339 |
Referenced in: | [show references] |