Libraryless. Click here for Pure Java version (1598L/11K).
static <A> SimplyLinkedList<A> arrayToSimplyLinkedList(A[] l) { SimplyLinkedList<A> sll = null; for (int i = l(l)-1; i >= 0; i--) sll = SimplyLinkedList.cons(l[i], sll); ret sll; }
Began life as a copy of #1023793
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1023797 |
| Snippet name: | arrayToSimplyLinkedList |
| Eternal ID of this version: | #1023797/1 |
| Text MD5: | a84e903973610621ee43e6a9c54a28f1 |
| Transpilation MD5: | dc9e528a70e17d05950f22b5c680b00b |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-07-09 03:32:29 |
| Source code size: | 195 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 488 / 610 |
| Referenced in: | [show references] |