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

5
LINES

< > BotCompany Repo | #1019907 - cloneAndClearAsLinkedList

JavaX fragment (include)

static <A> LinkedList<A> cloneAndClearAsLinkedList(L<A> l) {
  LinkedList l2 = cloneLinkedList(l);
  l.clear();
  ret l2;
}

Author comment

Began life as a copy of #1009575

download  show line numbers  debug dex   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz

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: 95 / 104
Referenced in: [show references]

Formerly at http://tinybrain.de/1019907 & http://1019907.tinybrain.de