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:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
next(int var0)
boolean
nextBoolean()
void
nextBytes(byte[] var0)
double
nextDouble()
float
nextFloat()
double
nextGaussian()
int
nextInt()
int
nextInt(int var0)
long
nextLong()
void
setSeed(long var0)
-
-
-
Method Detail
-
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)
-
-