Class RandomUtils

    • Constructor Detail

      • RandomUtils

        public RandomUtils()
    • Method Detail

      • nextBytes

        public static byte[] nextBytes​(int length)
      • nextBytes

        public static byte[] nextBytes​(int length,
                                       Random random)
      • nextInt

        public static int nextInt​(int min,
                                  int max)
      • nextInt

        public static int nextInt​(int min,
                                  int max,
                                  Random random)
      • nextIndexes

        public static int[] nextIndexes​(int n)
      • nextIndexes

        public static int[] nextIndexes​(int n,
                                        Random random)
      • rdCompare

        public static int rdCompare()
      • rdCompare

        public static int rdCompare​(Random random)