| Constructor and Description |
|---|
VariateInterval(T min,
T max)
Constructs an interval random variate.
|
public VariateInterval(T min, T max)
min - the lower bound of the interval.max - the upper bound of the interval.java.lang.IllegalArgumentException - (1) if min == null or max == null;
(2) if min and max have different types;
(3) if min > max;
(4) if the value type is unsupported.