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