| Package | Description |
|---|---|
| com.io7m.jranges |
Core functions and types.
|
| Modifier and Type | Field and Description |
|---|---|
static RangeInclusiveL |
RangeCheck.NATURAL_INTEGER
The inclusive range of natural integers,
[0, . |
static RangeInclusiveL |
RangeCheck.POSITIVE_INTEGER
The inclusive range of positive integers,
[1, . |
| Modifier and Type | Method and Description |
|---|---|
static RangeInclusiveL |
RangeCheck.checkRangeIncludedIn(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.checkIncludedIn(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.checkRangeIncludedIn(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 © 2014 <code@io7m.com> http://io7m.com