Libraryless. Click here for Pure Java version (375L/2K).
1 | static <A> L<A> shuffled(Cl<A> l) { |
2 | var l2 = cloneList(l); |
3 | Collections.shuffle(l2); |
4 | ret l2; |
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: | #1002464 |
Snippet name: | shuffled - shuffle a list |
Eternal ID of this version: | #1002464/2 |
Text MD5: | efd030afafb8b9f2cf15facc7f3c0d69 |
Transpilation MD5: | ad3bce780682efd494f31a251e6bd419 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-05-03 12:58:50 |
Source code size: | 103 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 757 / 758 |
Version history: | 1 change(s) |
Referenced in: | [show references] |