Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1013118 // indexesOfLinesBeginningWithDoubleArrow

JavaX fragment (include)

static L<Int> indexesOfLinesBeginningWithDoubleArrow(L<S> l) {
  new L<Int> x;
  for (int i = 0; i < l(l); i++)
    if (startsWith(trim(l.get(i)), "=>"))
      x.add(i);
  ret x;
}

Author comment

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: 405 / 385
Referenced in: [show references]