1 | static void removeFirst(L l) { |
2 | if (nempty(l)) |
3 | l.remove(0); |
4 | } |
5 | |
6 | svoid removeFirst(int n, L l) { |
7 | removeSubList(l, 0, n); |
8 | } |
Began life as a copy of #1007610
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: | #1013249 |
Snippet name: | removeFirst - remove first element of list (or multiple) |
Eternal ID of this version: | #1013249/4 |
Text MD5: | e8da55b22f5c17cfe22b75a7a5250119 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-25 18:31:17 |
Source code size: | 134 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 374 / 425 |
Version history: | 3 change(s) |
Referenced in: | [show references] |