Class LongToIntDiscreteCurve

    • 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  
    • 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
    • Constructor Detail

      • LongToIntDiscreteCurve

        public LongToIntDiscreteCurve​(DiscreteDistribution distribution,
                                      java.lang.String... modslist)
    • Method Detail

      • applyAsInt

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