static L<S> commonSuffixListCI(L<S> a, L<S> b) { int i = 0, nb = l(b), na = l(a), n = min(na, nb); while (i < n && eqic(a.get(na-1-i), b.get(nb-1-i))) ++i; return i == nb ? b : subList(a, na-i); }
Began life as a copy of #1013597
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: | #1016769 |
| Snippet name: | commonSuffixListCI |
| Eternal ID of this version: | #1016769/3 |
| Text MD5: | 282814faadf4c72e9442b6937cdd6577 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-02 12:50:05 |
| Source code size: | 213 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 581 / 611 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |