Class RandomGenerator

java.lang.Object
net.botwithus.rs3.util.RandomGenerator

public final class RandomGenerator extends Object
  • 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

      public static <E> E nextElement(Collection<E> collection)
    • nextElement

      public static <E> E nextElement(E[] array)
    • getSecureThreadLocalRandom

      public static ThreadLocalRandom getSecureThreadLocalRandom()