public class DoubleValueRange extends AbstractUncountableValueRange<Double>
| Constructor and Description |
|---|
DoubleValueRange(double from,
double to) |
public DoubleValueRange(double from,
double to)
from - inclusive minimumto - exclusive maximum, >= frompublic boolean isEmpty()
AbstractUncountableValueRangeisEmpty in interface ValueRange<Double>isEmpty in class AbstractUncountableValueRange<Double>public boolean contains(Double value)
value - sometimes nullpublic Iterator<Double> createRandomIterator(Random workingRandom)
ValueRangeworkingRandom - never null, the Random to use when any random number is needed,
so EnvironmentMode.REPRODUCIBLE works correctly. RandomUtils can be useful too.Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.