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

6
LINES

< > BotCompany Repo | #1003980 // lastIndexOfStartsWith

JavaX fragment (include)

static int lastIndexOfStartsWith(L<S> l, S s) {
  for (int i = l(l)-1; i >= 0; i--)
    if (startsWith(l.get(i), s))
      ret i;
  ret -1;
}

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: #1003980
Snippet name: lastIndexOfStartsWith
Eternal ID of this version: #1003980/1
Text MD5: e15016d594ffc96e1e522b5b2164bcaf
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-31 23:39:03
Source code size: 146 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 509 / 477
Referenced in: [show references]