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

3
LINES

< > BotCompany Repo | #1029217 // randomAB

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2572L/16K).

sS randomAB(int n, Random random default defaultRandomizer()) {
  ret stringFromRepF(() -> charPlus('a', randomInt(random, 2)), n);
}

Author comment

Began life as a copy of #1029100

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1029217
Snippet name: randomAB
Eternal ID of this version: #1029217/3
Text MD5: 69c64a47f2f2785ca532c5881b2efd5e
Transpilation MD5: 531630851ed7bbdec6ed475f70ec5947
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-25 15:05:28
Source code size: 135 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 193 / 289
Version history: 2 change(s)
Referenced in: [show references]