Class InterpolatingLongIntSampler

java.lang.Object
io.nosqlbench.virtdata.library.curves4.discrete.common.InterpolatingLongIntSampler
All Implemented Interfaces:
java.util.function.LongToIntFunction

public class InterpolatingLongIntSampler
extends java.lang.Object
implements java.util.function.LongToIntFunction
  • Constructor Summary

    Constructors 
    Constructor Description
    InterpolatingLongIntSampler​(java.util.function.DoubleToIntFunction icdSource, int resolution, boolean hash)  
  • Method Summary

    Modifier and Type Method Description
    int applyAsInt​(long input)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InterpolatingLongIntSampler

      public InterpolatingLongIntSampler​(java.util.function.DoubleToIntFunction icdSource, int resolution, boolean hash)
  • Method Details

    • applyAsInt

      public int applyAsInt​(long input)
      Specified by:
      applyAsInt in interface java.util.function.LongToIntFunction