Class AddHashRange
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.unary_int.AddHashRange
- All Implemented Interfaces:
IntUnaryOperator
Adds a pseudo-random value within the specified range to the input.
-
Constructor Details
-
AddHashRange
public AddHashRange(int maxValue) -
AddHashRange
public AddHashRange(int minValue, int maxValue)
-
-
Method Details
-
applyAsInt
public int applyAsInt(int operand) - Specified by:
applyAsIntin interfaceIntUnaryOperator
-