Libraryless. Click here for Pure Java version (455L/3K).
1 | static <A> L<A> cloneDropFirst(int n default 1, L<A> l) { |
2 | ret cloneSubList(l, n); |
3 | } |
4 | |
5 | static <A> L<A> cloneDropFirst(L<A> l, int n) { |
6 | ret cloneDropFirst(n, l); |
7 | } |
Began life as a copy of #1000798
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1036541 |
Snippet name: | cloneDropFirst function - dropFirst + always return new list |
Eternal ID of this version: | #1036541/4 |
Text MD5: | f226509ed17a679c0d3448eeeb9042bd |
Transpilation MD5: | 3449a50badc9c332252620eed19f1ddd |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2023-02-12 11:26:29 |
Source code size: | 170 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 143 / 196 |
Version history: | 3 change(s) |
Referenced in: | [show references] |