1 | static L<Int> indexesOfLinesBeginningWithDoubleArrow(L<S> l) { |
2 | new L<Int> x; |
3 | for (int i = 0; i < l(l); i++) |
4 | if (startsWith(trim(l.get(i)), "=>")) |
5 | x.add(i); |
6 | ret x; |
7 | } |
Began life as a copy of #1003989
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: | #1013118 |
Snippet name: | indexesOfLinesBeginningWithDoubleArrow |
Eternal ID of this version: | #1013118/1 |
Text MD5: | 6c8149c569ebaaa1322366a06077ec01 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-25 22:21:02 |
Source code size: | 186 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 484 / 461 |
Referenced in: | [show references] |