Class RandomRangedToInt

java.lang.Object
io.nosqlbench.virtdata.library.random.RandomRangedToInt
All Implemented Interfaces:
java.util.function.LongFunction<java.lang.Integer>

public class RandomRangedToInt
extends java.lang.Object
implements java.util.function.LongFunction<java.lang.Integer>
  • Constructor Summary

    Constructors 
    Constructor Description
    RandomRangedToInt​(long min, long max)  
    RandomRangedToInt​(long min, long max, long seed)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Integer apply​(long operand)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • apply

      public java.lang.Integer apply​(long operand)
      Specified by:
      apply in interface java.util.function.LongFunction<java.lang.Integer>