Package java.util

Class Random

java.lang.Object
java.util.Random
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SecureRandom

public class Random extends Object implements Serializable
See Also:
  • Constructor Details

    • Random

      public Random()
    • Random

      public Random(long var0)
  • Method Details

    • next

      protected int next(int var0)
    • nextBoolean

      public boolean nextBoolean()
    • nextBytes

      public void nextBytes(byte[] var0)
    • nextDouble

      public double nextDouble()
    • nextFloat

      public float nextFloat()
    • nextGaussian

      public double nextGaussian()
    • nextInt

      public int nextInt()
    • nextInt

      public int nextInt(int var0)
    • nextLong

      public long nextLong()
    • setSeed

      public void setSeed(long var0)