| Package | Description |
|---|---|
| com.io7m.jranges |
Core functions and types.
|
| Modifier and Type | Field and Description |
|---|---|
static RangeInclusiveL |
Ranges.NATURAL_LONG
The inclusive range of natural long integers,
[0, {@link
Long#MAX_VALUE}]. |
static RangeInclusiveL |
Ranges.POSITIVE_LONG
The inclusive range of positive long integers,
[1, {@link
Long#MAX_VALUE}]. |
| Modifier and Type | Method and Description |
|---|---|
static RangeInclusiveL |
RangeCheck.checkRangeIncludedInLong(RangeInclusiveL inner,
String inner_name,
RangeInclusiveL outer,
String outer_name)
Assert that
inner (named inner_name) is
included in the given range outer (named
outer_name). |
| Modifier and Type | Method and Description |
|---|---|
static long |
RangeCheck.checkIncludedInLong(long x,
String x_name,
RangeInclusiveL range,
String range_name)
Assert that
x (named x_name) is included in
the given range range (named range_name). |
static RangeInclusiveL |
RangeCheck.checkRangeIncludedInLong(RangeInclusiveL inner,
String inner_name,
RangeInclusiveL outer,
String outer_name)
Assert that
inner (named inner_name) is
included in the given range outer (named
outer_name). |
boolean |
RangeInclusiveL.isIncludedIn(RangeInclusiveL other)
Determine if the given range is included in this range.
|
Copyright © 2015 <code@io7m.com> http://io7m.com