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

5
LINES

< > BotCompany Repo | #1001906 // reversedList

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2703L/16K).

static <A> L<A> reversedList(Iterable<A> l) {
  L<A> x = cloneList(l);
  Collections.reverse(x);
  ret x;
}

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: #1001906
Snippet name: reversedList
Eternal ID of this version: #1001906/2
Text MD5: 8e5db8c53847f6c6adcf21ed58dfe3a6
Transpilation MD5: 436848f1921d32b6325cddad505eceaf
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-02-09 10:27:54
Source code size: 111 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 541 / 1975
Version history: 1 change(s)
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1005546 - reversed - short for reversedList / reversedString
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1007992 - reverseList - reverse list in place