@Authors(value="Nikolche Mihajlovski") @Since(value="2.0.0") public class Rnd extends RapidoidThing
| Constructor and Description |
|---|
Rnd() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
of(T... options) |
static int |
rnd() |
static int |
rnd(int n) |
static <T> T |
rnd(T[] arr) |
static char |
rndChar() |
static int |
rndExcept(int n,
int except) |
static long |
rndL() |
static String |
rndStr(int length) |
static String |
rndStr(int minLength,
int maxLength) |
protected static final Random RND
public static char rndChar()
public static String rndStr(int length)
public static String rndStr(int minLength, int maxLength)
public static int rnd(int n)
public static int rndExcept(int n,
int except)
public static <T> T rnd(T[] arr)
public static int rnd()
public static long rndL()
public static <T> T of(T... options)
Copyright © 2014–2016 Nikolche Mihajlovski and contributors. All rights reserved.