Constructor and Description |
---|
Random()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
nextBoolean()
Deprecated.
Use
Random.nextBoolean() instead |
static double |
nextDouble()
Deprecated.
Use
Random.nextDouble() instead |
static float |
nextFloat()
Deprecated.
Use
Random.nextFloat() instead |
static int |
nextInt()
Deprecated.
Use
Random.nextInt() instead |
static int |
nextInt(int n)
Deprecated.
Use
Random.nextInt(int) instead |
static long |
nextLong()
Deprecated.
Use
Random.nextLong() instead |
public Random()
public static int nextInt()
Random.nextInt()
insteadpublic static int nextInt(int n)
Random.nextInt(int)
insteadpublic static boolean nextBoolean()
Random.nextBoolean()
insteadpublic static double nextDouble()
Random.nextDouble()
insteadpublic static float nextFloat()
Random.nextFloat()
insteadpublic static long nextLong()
Random.nextLong()
instead