Class AddHashRange
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.unary_int.AddHashRange
- All Implemented Interfaces:
java.util.function.IntUnaryOperator
public class AddHashRange
extends java.lang.Object
implements java.util.function.IntUnaryOperator
Adds a pseudo-random value within the specified range to the input.
-
Constructor Summary
Constructors Constructor Description AddHashRange(int maxValue)AddHashRange(int minValue, int maxValue) -
Method Summary
Modifier and Type Method Description intapplyAsInt(int operand)
-
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 interfacejava.util.function.IntUnaryOperator
-