1 | static int aRandomStringList_maxLength = 10; |
2 | static int aRandomStringList_maxStringLength = 3; |
3 | |
4 | static L<S> aRandomStringList() { |
5 | int l = random(aRandomStringList_maxLength+1); |
6 | ret repF(l, func -> S { |
7 | randomID(random(aRandomStringList_maxStringLength+1)) |
8 | }); |
9 | } |
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: | 430 / 471 |
Referenced in: | [show references] |