public final class DoubleRange extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
double |
getMax()
Return the maximum value of the double range.
|
double |
getMin()
Return the minimum value of the double range.
|
int |
hashCode() |
static DoubleRange |
of(double min,
double max)
Create a new
DoubleRange object with the given min and
max values. |
String |
toString() |
public double getMin()
public double getMax()
public static DoubleRange of(double min, double max)
DoubleRange object with the given min and
max values.min - the lower bound of the double rangemax - the upper bound of the double rangeDoubleRange objectIllegalArgumentException - if min > max© 2007-2017 Franz Wilhelmstötter (2017-04-28 16:50)