static void truncateList(L l, int n) { if (l(l) <= n) ret; removeSubList(l, n, l(l)); }
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: | #1009448 |
| Snippet name: | truncateList - synonym of trimList |
| Eternal ID of this version: | #1009448/3 |
| Text MD5: | 46949d597ac56ba0db6994fb0623ddfb |
| 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:03 |
| Source code size: | 94 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 837 / 924 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1031544 - truncateListFromStart |