Class InterpolatingIntDoubleSampler
java.lang.Object
io.nosqlbench.virtdata.library.curves4.continuous.common.InterpolatingIntDoubleSampler
- All Implemented Interfaces:
java.util.function.IntToDoubleFunction
public class InterpolatingIntDoubleSampler
extends java.lang.Object
implements java.util.function.IntToDoubleFunction
-
Constructor Summary
Constructors Constructor Description InterpolatingIntDoubleSampler(java.util.function.DoubleUnaryOperator icdSource, int resolution, boolean hash, boolean clamp, double clampMin, double clampMax, boolean finite) -
Method Summary
Modifier and Type Method Description doubleapplyAsDouble(int input)
-
Constructor Details
-
InterpolatingIntDoubleSampler
public InterpolatingIntDoubleSampler(java.util.function.DoubleUnaryOperator icdSource, int resolution, boolean hash, boolean clamp, double clampMin, double clampMax, boolean finite)
-
-
Method Details
-
applyAsDouble
public double applyAsDouble(int input)- Specified by:
applyAsDoublein interfacejava.util.function.IntToDoubleFunction
-