Class ThreadLocalRandom

    • Method Detail

      • current

        public static ThreadLocalRandom current()
        Returns the current thread's ThreadLocalRandom.
        Returns:
        the current thread's ThreadLocalRandom
      • nextInt

        public int nextInt​(int minSize,
                           int maxSize)