static <A> L<Int> indicesOfSubList(L<A> x, L<A> y) { new L<Int> l; int i = 0; while true { int j = indexOfSubList(x, y, i); if (j < 0) break; l.add(j); i = j+1; } ret l; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017533 |
Snippet name: | indicesOfSubList |
Eternal ID of this version: | #1017533/1 |
Text MD5: | 1dc414b636b3a5ee0c52d5cdb2317c62 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-26 13:20:17 |
Source code size: | 207 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 331 / 378 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1021554 - indicesOfSubListIC |