Class FixedValues
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_long.FixedValues
- All Implemented Interfaces:
LongUnaryOperator
Yield one of the specified values, rotating through them as the input value
increases.
-
Constructor Details
-
FixedValues
public FixedValues(long... values)
-
-
Method Details
-
applyAsLong
public long applyAsLong(long value) - Specified by:
applyAsLongin interfaceLongUnaryOperator
-