This commit is contained in:
wentch
2016-01-26 14:11:25 +08:00
parent d43a3632d2
commit 28867e5e2d

View File

@@ -108,16 +108,16 @@ public interface Range<E extends Comparable> extends java.io.Serializable, Predi
}
}
public static final class IntegerRange implements Range<Integer> {
public static final class IntRange implements Range<Integer> {
private Integer min = Integer.MIN_VALUE;
private Integer max = Integer.MAX_VALUE;
public IntegerRange() {
public IntRange() {
}
public IntegerRange(Integer min, Integer max) {
public IntRange(Integer min, Integer max) {
if (min != null) this.min = min;
if (max != null) this.max = max;
}