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

11
LINES

< > BotCompany Repo | #1021554 // indicesOfSubListIC

JavaX fragment (include)

static L<Int> indicesOfSubListIC(L<S> x, L<S> y) {
  new L<Int> l;
  int i = 0;
  while true {
    int j = indexOfSubListIC(x, y, i);
    if (j < 0) break;
    l.add(j);
    i = j+1;
  }
  ret l;
}

Author comment

Began life as a copy of #1017533

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021554
Snippet name: indicesOfSubListIC
Eternal ID of this version: #1021554/2
Text MD5: eab7f79f901c685677a457b3d446003c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-17 19:38:30
Source code size: 207 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 224 / 241
Version history: 1 change(s)
Referenced in: [show references]