Libraryless. Click here for Pure Java version (2789L/16K).
svoid truncateListFromStart(L l, int n) { if (l(l) <= n) ret; removeSubList(l, 0, l(l)-n); }
Began life as a copy of #1009448
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031544 |
Snippet name: | truncateListFromStart |
Eternal ID of this version: | #1031544/1 |
Text MD5: | d3022a366d2e6262c6a1a066d32126fb |
Transpilation MD5: | 8affa1e0cad169076051008b9241dbf9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-21 17:42:13 |
Source code size: | 99 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 136 / 202 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |