public class Random extends java.lang.Object
| Constructor and Description |
|---|
Random() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
nextBoolean() |
static double |
nextDouble() |
static float |
nextFloat() |
static int |
nextInt() |
static int |
nextInt(int n) |
static long |
nextLong() |
public Random()
public static int nextInt()
Random.nextInt()public static int nextInt(int n)
Random.nextInt(int)public static boolean nextBoolean()
Random.nextBoolean()public static double nextDouble()
Random.nextDouble()public static float nextFloat()
Random.nextFloat()public static long nextLong()
Random.nextLong()