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

7
LINES

< > BotCompany Repo | #1011934 // emptyListWithCapacity

JavaX fragment (include)

static <A> L<A> emptyListWithCapacity(Collection c) {
  ret new L(l(c));
}

static <A> L<A> emptyListWithCapacity(int n) {
  ret new L(n);
}

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: #1011934
Snippet name: emptyListWithCapacity
Eternal ID of this version: #1011934/1
Text MD5: 2569e02d92f760fd6c92140cd04b8a2c
Author: stefan
Category: javax / collections
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-10 04:26:26
Source code size: 146 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 398 / 381
Referenced in: [show references]