Class Random


  • public class Random
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Random()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean nextBool()  
      static int nextInt()  
      static int nextInt​(int min, int max)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Random

        public Random()
    • Method Detail

      • nextInt

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

        public static int nextInt()
      • nextBool

        public static boolean nextBool()