java.lang.Object
net.botwithus.rs3.util.RandomGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ThreadLocalRandom
static boolean
static double
nextDouble
(double min, double max) static <E> E
nextElement
(E[] array) static <E> E
nextElement
(Collection<E> collection) static int
nextInt()
static int
nextInt
(int max) static int
nextInt
(int min, int max)
-
Constructor Details
-
RandomGenerator
public RandomGenerator()
-
-
Method Details
-
nextInt
public static int nextInt() -
nextInt
public static int nextInt(int max) -
nextInt
public static int nextInt(int min, int max) -
nextDouble
public static double nextDouble(double min, double max) -
nextBoolean
public static boolean nextBoolean() -
nextElement
-
nextElement
public static <E> E nextElement(E[] array) -
getSecureThreadLocalRandom
-