1 | static L<S> endingWithIC_dropSuffix(Collection<S> l, fS suffix) { |
2 | new L<S> out; |
3 | for (S s : unnull(l)) |
4 | if (ewic(s, suffix)) |
5 | out.add(dropLast(l(suffix), s)); |
6 | ret out; |
7 | } |
8 | |
9 | static L<S> endingWithIC_dropSuffix(S suffix, Collection<S> l) { |
10 | ret endingWithIC_dropSuffix(l, suffix); |
11 | } |
Began life as a copy of #1008835
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1014471 |
Snippet name: | endingWithIC_dropSuffix |
Eternal ID of this version: | #1014471/1 |
Text MD5: | d6ef0ea2857615d1ba192efcc09f1895 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-22 01:43:34 |
Source code size: | 302 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 465 / 455 |
Referenced in: | [show references] |