public class Random extends Random
Random
subclass which add convenient methods.Constructor and Description |
---|
Random() |
Modifier and Type | Method and Description |
---|---|
double |
nextDouble(double max) |
double |
nextDouble(double min,
double max) |
int |
nextInt(int min,
int max) |
next, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed
public Random()
public int nextInt(int min, int max)
public double nextDouble(double max)
public double nextDouble(double min, double max)
Copyright © 2012. All Rights Reserved.