sbool subListEqualsIC(LS l, LS pat, int i) { if (i < 0) false; int j = i+l(pat); if (j > l(l)) false; for (int k = i; k < j; k++) if (neqic(l.get(k), pat.get(k-i))) false; true; }
Began life as a copy of #1020304
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: | #1022225 |
Snippet name: | subListEqualsIC |
Eternal ID of this version: | #1022225/3 |
Text MD5: | a4e7e054f5156c1ee0df9ad6dd1f24ec |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-11 13:33:40 |
Source code size: | 207 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 289 / 315 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1022229 - codeTokenSubListEqualsIC #1030287 - subListEquals |