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

3
LINES

< > BotCompany Repo | #1024047 // random3 - take 3 random elements from list

JavaX fragment (include)

1  
static <A> L<A> random3(L<A> l) {
2  
  ret takeRandom(3, l);
3  
}

Author comment

Began life as a copy of #1024046

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1024047
Snippet name: random3 - take 3 random elements from list
Eternal ID of this version: #1024047/1
Text MD5: 4a13d4283621dbf72059bfe6970a2faa
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-18 14:55:52
Source code size: 61 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 182 / 217
Referenced in: [show references]