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

9
LINES

< > BotCompany Repo | #1013586 // aRandomStringList

JavaX fragment (include)

static int aRandomStringList_maxLength = 10;
static int aRandomStringList_maxStringLength = 3;

static L<S> aRandomStringList() {
  int l = random(aRandomStringList_maxLength+1);
  ret repF(l, func -> S {
    randomID(random(aRandomStringList_maxStringLength+1))
  });
}

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: #1013586
Snippet name: aRandomStringList
Eternal ID of this version: #1013586/1
Text MD5: 55f937a98f2558568dc1a71ea63e5a83
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-11 12:56:56
Source code size: 278 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 431 / 471
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)