java.lang.Object
net.botwithus.rs3.util.RandomGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ThreadLocalRandomstatic booleanstatic doublenextDouble(double min, double max) static <E> EnextElement(E[] array) static <E> EnextElement(Collection<E> collection) static intnextInt()static intnextInt(int max) static intnextInt(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
-