Class HashRange

java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_double.HashRange
All Implemented Interfaces:
LongToDoubleFunction

public class HashRange extends Object implements LongToDoubleFunction
Return a double value within the specified range. This function uses an intermediate long to arrive at the sampled value before conversion to double, thus providing a more linear sample at the expense of some precision at extremely large values.
  • Constructor Details

    • HashRange

      public HashRange(double min, double max)
  • Method Details