static <A> L<A> dropListPrefix(L<A> l, A... elements) { ret startsWith(l, asList(elements)) ? subList(l, l(elements)) : l; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005095 |
Snippet name: | dropListPrefix - drop first elements of list if matches |
Eternal ID of this version: | #1005095/1 |
Text MD5: | d3cfac49d618f727f54be035c3ea9340 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-10-16 16:35:48 |
Source code size: | 128 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 568 / 578 |
Referenced in: | [show references] |