public class RandomUtil extends Object
| Constructor and Description |
|---|
RandomUtil() |
| Modifier and Type | Method and Description |
|---|---|
static byte |
random(byte min,
byte max) |
static double |
random(double min,
double max) |
static float |
random(float min,
float max) |
static int |
random(int min,
int max) |
static long |
random(long min,
long max) |
static short |
random(short min,
short max) |
static boolean |
randomBoolean() |
static boolean |
randomBoolean(Boolean bool) |
public static double random(double min,
double max)
public static float random(float min,
float max)
public static long random(long min,
long max)
public static int random(int min,
int max)
public static short random(short min,
short max)
public static byte random(byte min,
byte max)
public static boolean randomBoolean()
public static boolean randomBoolean(Boolean bool)
Copyright © 2021. All rights reserved.