Class LongToIntDiscreteCurve

java.lang.Object
io.nosqlbench.virtdata.library.curves4.discrete.long_int.LongToIntDiscreteCurve
All Implemented Interfaces:
java.util.function.LongToIntFunction
Direct Known Subclasses:
Binomial, Geometric, Hypergeometric, Pascal, Poisson, Uniform, Zipf

public class LongToIntDiscreteCurve
extends java.lang.Object
implements java.util.function.LongToIntFunction
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String COMPUTE  
    static java.lang.String HASH  
    static java.lang.String INTERPOLATE  
    static java.lang.String MAP  
  • Constructor Summary

    Constructors 
    Constructor Description
    LongToIntDiscreteCurve​(DiscreteDistribution distribution, java.lang.String... modslist)  
  • Method Summary

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait