Libraryless. Click here for Pure Java version (2789L/16K).
1 | svoid truncateListFromStart(L l, int n) { |
2 | if (l(l) <= n) ret; |
3 | removeSubList(l, 0, l(l)-n); |
4 | } |
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: | 137 / 204 |
Referenced in: | [show references] |