public class Util extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static double |
EPSILON
doubles that differ by less than EPSILON should be considered equals
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isEquals(double x,
double y) |
static boolean |
isLess(double x,
double y) |
static boolean |
isLessOrEquals(double x,
double y) |
static double |
nextRandom(double min,
double max) |
static void |
setRandomSeed(long seed) |
public static final double EPSILON
public static boolean isEquals(double x, double y)
public static boolean isLessOrEquals(double x, double y)
public static boolean isLess(double x, double y)
public static void setRandomSeed(long seed)
public static double nextRandom(double min, double max)