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

3
LINES

< > BotCompany Repo | #1022080 // removeRandom - synonym of popRandomElement

JavaX fragment (include)

static <A> A removeRandom(L<A> l) {
  ret popRandomElement(l);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022080
Snippet name: removeRandom - synonym of popRandomElement
Eternal ID of this version: #1022080/1
Text MD5: f04b00e006f66b0c2f22fd213e53450a
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-06 17:28:36
Source code size: 64 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 184 / 209
Referenced in: [show references]