Class IntegerDistributionICDSource
java.lang.Object
io.nosqlbench.virtdata.library.curves4.discrete.common.IntegerDistributionICDSource
- All Implemented Interfaces:
java.util.function.DoubleToIntFunction
public class IntegerDistributionICDSource
extends java.lang.Object
implements java.util.function.DoubleToIntFunction
-
Constructor Summary
Constructors Constructor Description IntegerDistributionICDSource(DiscreteDistribution integerDistribution) -
Method Summary
Modifier and Type Method Description intapplyAsInt(double value)
-
Constructor Details
-
Method Details
-
applyAsInt
public int applyAsInt(double value)- Specified by:
applyAsIntin interfacejava.util.function.DoubleToIntFunction
-