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
    double applyAsDouble​(int input)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      applyAsDouble in interface java.util.function.IntToDoubleFunction