Class AddCycleRange
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.unary_int.AddCycleRange
- All Implemented Interfaces:
java.util.function.IntUnaryOperator
public class AddCycleRange
extends java.lang.Object
implements java.util.function.IntUnaryOperator
Adds a cycle range to the input, producing an increasing sawtooth-like output.
-
Constructor Summary
Constructors Constructor Description AddCycleRange(int maxValue)AddCycleRange(int minValue, int maxValue) -
Method Summary
Modifier and Type Method Description intapplyAsInt(int operand)
-
Constructor Details
-
AddCycleRange
public AddCycleRange(int maxValue) -
AddCycleRange
public AddCycleRange(int minValue, int maxValue)
-
-
Method Details
-
applyAsInt
public int applyAsInt(int operand)- Specified by:
applyAsIntin interfacejava.util.function.IntUnaryOperator
-