1 | static S fairlyRandomChars(int n) { |
2 | new StringBuilder buf; |
3 | repeat n { |
4 | buf.append((char) random(0x1000)); |
5 | } |
6 | ret str(buf); |
7 | } |
Began life as a copy of #1011478
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: | #1011480 |
Snippet name: | fairlyRandomChars |
Eternal ID of this version: | #1011480/1 |
Text MD5: | 4835966520dbaf0e087c214cd7e828a8 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-30 02:16:08 |
Source code size: | 140 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 376 / 430 |
Referenced in: | [show references] |