public class BigDecimalRangeRandomizer extends Object implements Randomizer<BigDecimal>
BigDecimal in the given range.| Constructor and Description |
|---|
BigDecimalRangeRandomizer(Long min,
Long max)
Create a new
BigDecimalRangeRandomizer. |
BigDecimalRangeRandomizer(Long min,
Long max,
long seed)
Create a new
BigDecimalRangeRandomizer. |
| Modifier and Type | Method and Description |
|---|---|
static BigDecimalRangeRandomizer |
aNewBigDecimalRangeRandomizer(Long min,
Long max)
Create a new
BigDecimalRangeRandomizer. |
static BigDecimalRangeRandomizer |
aNewBigDecimalRangeRandomizer(Long min,
Long max,
long seed)
Create a new
BigDecimalRangeRandomizer. |
BigDecimal |
getRandomValue()
Generate a random value for the given type.
|
public BigDecimalRangeRandomizer(Long min, Long max)
BigDecimalRangeRandomizer.min - min valuemax - max valuepublic BigDecimalRangeRandomizer(Long min, Long max, long seed)
BigDecimalRangeRandomizer.min - min valuemax - max valueseed - initial seedpublic static BigDecimalRangeRandomizer aNewBigDecimalRangeRandomizer(Long min, Long max)
BigDecimalRangeRandomizer.min - min valuemax - max valueBigDecimalRangeRandomizer.public static BigDecimalRangeRandomizer aNewBigDecimalRangeRandomizer(Long min, Long max, long seed)
BigDecimalRangeRandomizer.min - min valuemax - max valueseed - initial seedBigDecimalRangeRandomizer.public BigDecimal getRandomValue()
RandomizergetRandomValue in interface Randomizer<BigDecimal>Copyright © 2016. All Rights Reserved.