Class FixedValue
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_int.FixedValue
- All Implemented Interfaces:
java.util.function.LongToIntFunction
public class FixedValue
extends java.lang.Object
implements java.util.function.LongToIntFunction
Yield a fixed value.
-
Constructor Summary
Constructors Constructor Description FixedValue(int value) -
Method Summary
Modifier and Type Method Description intapplyAsInt(long value)
-
Constructor Details
-
FixedValue
public FixedValue(int value)
-
-
Method Details
-
applyAsInt
public int applyAsInt(long value)- Specified by:
applyAsIntin interfacejava.util.function.LongToIntFunction
-