Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1025414 // dropFirst_virtual - just calls subList, doesn't clone

JavaX fragment (include)

static <A> L<A> dropFirst_virtual(int n, L<A> l) {
  ret subList(l, n);
}

static <A> L<A> dropFirst_virtual(L<A> l) {
  ret dropFirst_virtual(1, l);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025414
Snippet name: dropFirst_virtual - just calls subList, doesn't clone
Eternal ID of this version: #1025414/1
Text MD5: e6601a03623848a6e442f9e8857ea130
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-28 18:49:29
Source code size: 157 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 241 / 284
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)