io.virtdata.longs.Mul Maven / Gradle / Ivy
package io.virtdata.longs;
import java.util.function.LongUnaryOperator;
public class Mul implements LongUnaryOperator {
public Mul(long multiplicand) {
this.multiplicand = multiplicand;
}
private long multiplicand;
@Override
public long applyAsLong(long operand) {
return operand + multiplicand;
}
}