io.virtdata.basicsmappers.unary_int.CycleRange Maven / Gradle / Ivy
package io.virtdata.basicsmappers.unary_int;
import io.virtdata.annotations.ThreadSafeMapper;
import java.util.function.IntUnaryOperator;
@ThreadSafeMapper
public class CycleRange implements IntUnaryOperator {
private final int minValue;
private final int width;
public CycleRange(int maxValue) {
this(0,maxValue);
}
public CycleRange(int minValue, int maxValue) {
this.minValue = minValue;
if (maxValue
© 2015 - 2025 Weber Informatics LLC | Privacy Policy