Class Random


  • public class Random
    extends java.lang.Object
    Created by IntelliJ IDEA. User: mikio Date: 6/24/11 Time: 10:45 AM To change this template use File | Settings | File Templates.
    • Constructor Summary

      Constructors 
      Constructor Description
      Random()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double nextDouble()  
      static float nextFloat()  
      static double nextGaussian()  
      static int nextInt​(int max)  
      static void seed​(long newSeed)  
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • seed

        public static void seed​(long newSeed)
      • nextFloat

        public static float nextFloat()
      • nextInt

        public static int nextInt​(int max)