- java.lang.Object
-
- com.io7m.jranges.Ranges
-
public final class Ranges extends java.lang.ObjectPredefined ranges.- Since:
- 2.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static RangeInclusiveDNATURAL_DOUBLEThe inclusive range of numbers greater than or equal to0,[0, {@link Double#MAX_VALUE}].static RangeInclusiveINATURAL_INTEGERThe inclusive range of natural integers,[0, {@link Integer#MAX_VALUE}].static RangeInclusiveLNATURAL_LONGThe inclusive range of natural long integers,[0, {@link Long#MAX_VALUE}].static RangeInclusiveDPOSITIVE_DOUBLEThe inclusive range of numbers greater than or equal to1,[1, {@link Double#MAX_VALUE}].static RangeInclusiveIPOSITIVE_INTEGERThe inclusive range of positive integers,[1, {@link Integer#MAX_VALUE}].static RangeInclusiveLPOSITIVE_LONGThe inclusive range of positive long integers,[1, {@link Long#MAX_VALUE}].
-
-
-
Field Detail
-
NATURAL_DOUBLE
public static final RangeInclusiveD NATURAL_DOUBLE
The inclusive range of numbers greater than or equal to0,[0, {@link Double#MAX_VALUE}].- Since:
- 2.0.0
-
NATURAL_LONG
public static final RangeInclusiveL NATURAL_LONG
The inclusive range of natural long integers,[0, {@link Long#MAX_VALUE}].- Since:
- 2.0.0
-
NATURAL_INTEGER
public static final RangeInclusiveI NATURAL_INTEGER
The inclusive range of natural integers,[0, {@link Integer#MAX_VALUE}].- Since:
- 2.0.0
-
POSITIVE_DOUBLE
public static final RangeInclusiveD POSITIVE_DOUBLE
The inclusive range of numbers greater than or equal to1,[1, {@link Double#MAX_VALUE}].- Since:
- 2.0.0
-
POSITIVE_LONG
public static final RangeInclusiveL POSITIVE_LONG
The inclusive range of positive long integers,[1, {@link Long#MAX_VALUE}].- Since:
- 2.0.0
-
POSITIVE_INTEGER
public static final RangeInclusiveI POSITIVE_INTEGER
The inclusive range of positive integers,[1, {@link Integer#MAX_VALUE}].- Since:
- 2.0.0
-
-