1 | static <A> L<A> emptyListWithCapacity(Collection c) { |
2 | ret new L(l(c)); |
3 | } |
4 | |
5 | static <A> L<A> emptyListWithCapacity(int n) { |
6 | ret new L(n); |
7 | } |
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: | 458 / 441 |
Referenced in: | [show references] |