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

17
LINES

< > BotCompany Repo | #1000869 - randomID

JavaX fragment (include)

static int randomID_defaultLength = 12;

static String randomID(int length) {
  return makeRandomID(length);
}

static String randomID(Random r, int length) {
  return makeRandomID(r, length);
}

static String randomID() {
  return randomID(randomID_defaultLength);
}

static String randomID(Random r) {
  return randomID(r, randomID_defaultLength);
}

Author comment

Began life as a copy of #1000570

download  show line numbers  debug dex   

Travelled to 10 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1000869
Snippet name: randomID
Eternal ID of this version: #1000869/2
Text MD5: 627b92c18f3ac2af906c938e5eaf8fc6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-12 12:56:07
Source code size: 367 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 487 / 2631
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1000869 & http://1000869.tinybrain.de