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

4
LINES

< > BotCompany Repo | #1007992 // reverseList - reverse list in place

JavaX fragment (include)

1  
static <A> L<A> reverseList(L<A> l) {
2  
  Collections.reverse(l);
3  
  ret l;
4  
}

Author comment

Began life as a copy of #1001906

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1007992
Snippet name: reverseList - reverse list in place
Eternal ID of this version: #1007992/1
Text MD5: 1ec5e07277f1bc7cf0dea4149c8d4772
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-18 03:05:48
Source code size: 77 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 553 / 555
Referenced in: [show references]