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

3
LINES

< > BotCompany Repo | #1002478 // randomElement - synonym of randomOne

JavaX fragment (include)

static <A> A randomElement(L<A> l) {
  ret randomOne(l);
}

Author comment

Began life as a copy of #1002145

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: #1002478
Snippet name: randomElement - synonym of randomOne
Eternal ID of this version: #1002478/1
Text MD5: efcb02b0e26dad81813fd5beae84200c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-01-25 20:40:37
Source code size: 60 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 654 / 588
Referenced in: [show references]