public class UniformJavaUtilRandomWrapper extends Object implements UniformDistributionRNG
| Constructor and Description |
|---|
UniformJavaUtilRandomWrapper() |
UniformJavaUtilRandomWrapper(long seed) |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
nextBigDecimal() |
BigDecimal |
nextBigDecimal(double lowerLimit,
double upperLimit) |
BigDecimal |
nextBigDecimal(DoubleInterval interval) |
double |
nextDouble() |
double |
nextDouble(double lowerLimit,
double upperLimit) |
double |
nextDouble(DoubleInterval interval) |
int |
nextInt() |
int |
nextInt(int upperLimit)
Returns a random integer between 0 and upperLimit (exclusive)
|
int |
nextInt(IntegerInterval interval) |
int |
nextInt(int lowerLimit,
int upperLimit) |
long |
nextLong() |
public UniformJavaUtilRandomWrapper()
public UniformJavaUtilRandomWrapper(long seed)
public int nextInt()
nextInt in interface UniformDistributionRNGpublic int nextInt(int lowerLimit,
int upperLimit)
nextInt in interface UniformDistributionRNGpublic int nextInt(IntegerInterval interval)
nextInt in interface UniformDistributionRNGpublic double nextDouble()
nextDouble in interface UniformDistributionRNGpublic double nextDouble(double lowerLimit,
double upperLimit)
nextDouble in interface UniformDistributionRNGpublic long nextLong()
nextLong in interface UniformDistributionRNGpublic double nextDouble(DoubleInterval interval)
nextDouble in interface UniformDistributionRNGpublic BigDecimal nextBigDecimal()
nextBigDecimal in interface UniformDistributionRNGpublic BigDecimal nextBigDecimal(double lowerLimit, double upperLimit)
nextBigDecimal in interface UniformDistributionRNGpublic BigDecimal nextBigDecimal(DoubleInterval interval)
nextBigDecimal in interface UniformDistributionRNGpublic int nextInt(int upperLimit)
UniformDistributionRNGnextInt in interface UniformDistributionRNGCopyright © 2017. All rights reserved.