1 | static L<Int> indicesOfSubListIC(L<S> x, L<S> y) { |
2 | new L<Int> l; |
3 | int i = 0; |
4 | while true { |
5 | int j = indexOfSubListIC(x, y, i); |
6 | if (j < 0) break; |
7 | l.add(j); |
8 | i = j+1; |
9 | } |
10 | ret l; |
11 | } |
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: | 291 / 303 |
Version history: | 1 change(s) |
Referenced in: | [show references] |