Class Mod
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_long.Mod
- All Implemented Interfaces:
java.util.function.LongUnaryOperator
public class Mod
extends java.lang.Object
implements java.util.function.LongUnaryOperator
Return the result of modulo division by the specified divisor.
-
Constructor Summary
Constructors Constructor Description Mod(long modulo) -
Method Summary
Modifier and Type Method Description longapplyAsLong(long operand)
-
Constructor Details
-
Mod
public Mod(long modulo)
-
-
Method Details
-
applyAsLong
public long applyAsLong(long operand)- Specified by:
applyAsLongin interfacejava.util.function.LongUnaryOperator
-