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

7
LINES

< > BotCompany Repo | #1003989 // indexesOfLinesStartingWith

JavaX fragment (include)

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

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