io.virtdata.long_long.HashRange Maven / Gradle / Ivy
package io.virtdata.long_long;
import java.util.function.LongUnaryOperator;
public class HashRange implements LongUnaryOperator {
private final long minValue;
private final long width;
private final Hash hash = new Hash();
public HashRange(long minValue, long maxValue) {
this.minValue = minValue;
if (maxValue