1 | static L<Int> indexesOfLinesStartingWith(L<S> l, S s) { |
2 | new L<Int> x; |
3 | for (int i = 0; i < l(l); i++) |
4 | if (startsWith(l.get(i), s)) |
5 | x.add(i); |
6 | ret x; |
7 | } |
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: | #1003989 |
Snippet name: | indexesOfLinesStartingWith |
Eternal ID of this version: | #1003989/1 |
Text MD5: | 06f311c4de86825a0caac61b32dd7817 |
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:21:21 |
Source code size: | 170 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 583 / 581 |
Referenced in: | [show references] |