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