1 | static <A> LinkedList<A> cloneAndClearAsLinkedList(L<A> l) { |
2 | LinkedList l2 = cloneLinkedList(l); |
3 | l.clear(); |
4 | ret l2; |
5 | } |
Began life as a copy of #1009575
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019907 |
Snippet name: | cloneAndClearAsLinkedList |
Eternal ID of this version: | #1019907/1 |
Text MD5: | 364cbb2e180bda0dff3653d52274e5d7 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-30 21:33:21 |
Source code size: | 127 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 306 / 335 |
Referenced in: | [show references] |