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

5
LINES

< > BotCompany Repo | #1023893 // litlinkedlist (literal LinkedList)

JavaX fragment (include)

1  
static <A> LinkedList<A> litlinkedlist(A... a) {
2  
  new LinkedList<A> l;
3  
  for (A x : a) l.add(x);
4  
  ret l;
5  
}

Author comment

Began life as a copy of #1001047

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: #1023893
Snippet name: litlinkedlist (literal LinkedList)
Eternal ID of this version: #1023893/3
Text MD5: 7281ec99855d142e47eb6a4805da3075
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-11 22:15:19
Source code size: 112 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 229 / 267
Version history: 2 change(s)
Referenced in: [show references]