1 | static <A> L<A> takeLast_virtual(L<A> l, int n) { |
2 | return subList(l, l(l)-n); |
3 | } |
4 | |
5 | static <A> L<A> takeLast_virtual(int n, L<A> l) { |
6 | ret takeLast_virtual(l, n); |
7 | } |
Began life as a copy of #1003099
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018448 |
Snippet name: | takeLast_virtual function - takeLast with virtual (instantaneous) sublist |
Eternal ID of this version: | #1018448/1 |
Text MD5: | 8de48ada9e2193032ff7194684c8919a |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-09-30 19:44:40 |
Source code size: | 169 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 327 / 373 |
Referenced in: | [show references] |