Libraryless. Click here for Pure Java version (2703L/16K).
1 | static <A> L<A> reversedList(Iterable<A> l) {
|
2 | L<A> x = cloneList(l); |
3 | Collections.reverse(x); |
4 | ret x; |
5 | } |
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: | 1078 / 2627 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |