Class DistributionOffsetApache
- java.lang.Object
-
- org.caffinitas.ohc.benchmark.distribution.Distribution
-
- org.caffinitas.ohc.benchmark.distribution.DistributionOffsetApache
-
- All Implemented Interfaces:
Serializable
public class DistributionOffsetApache extends Distribution
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DistributionOffsetApache(org.apache.commons.math3.distribution.AbstractRealDistribution delegate, long min, long max)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longinverseCumProb(double cumProb)longnext()doublenextDouble()voidsetSeed(long seed)-
Methods inherited from class org.caffinitas.ohc.benchmark.distribution.Distribution
average, maxValue, minValue
-
-
-
-
Method Detail
-
setSeed
public void setSeed(long seed)
- Specified by:
setSeedin classDistribution
-
next
public long next()
- Specified by:
nextin classDistribution
-
nextDouble
public double nextDouble()
- Specified by:
nextDoublein classDistribution
-
inverseCumProb
public long inverseCumProb(double cumProb)
- Specified by:
inverseCumProbin classDistribution
-
-