Class Ranges

java.lang.Object
com.io7m.jranges.Ranges

public final class Ranges extends Object
Predefined ranges.
Since:
2.0.0
  • Field Details

    • NATURAL_DOUBLE

      public static final RangeInclusiveD NATURAL_DOUBLE
      The inclusive range of numbers greater than or equal to 0, [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 to 1, [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