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

5
LINES

< > BotCompany Repo | #1002464 // shuffled - shuffle a list

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

Libraryless. Click here for Pure Java version (375L/2K).

static <A> L<A> shuffled(Cl<A> l) {
  var l2 = cloneList(l);
  Collections.shuffle(l2);
  ret l2;
}

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: 662 / 647
Version history: 1 change(s)
Referenced in: [show references]