static int indexOfEndsWith(L<S> l, S s) { ret indexOfEndsWith(l, s, 0); } static int indexOfEndsWith(L<S> l, S s, int i) { for (; i < l(l); i++) if (endsWith(l.get(i), s)) ret i; ret -1; }
Began life as a copy of #1003993
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003994 |
Snippet name: | indexOfEndsWith |
Eternal ID of this version: | #1003994/1 |
Text MD5: | 2767473f2ea6503986c11ea17c338d50 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-01 22:41:31 |
Source code size: | 214 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 723 / 713 |
Referenced in: | [show references] |