| Package | Description |
|---|---|
| com.io7m.junsigned.ranges |
An extension of the
jranges package for unsigned integers. |
| Modifier and Type | Field | Description |
|---|---|---|
static UnsignedRangeInclusiveL |
UnsignedRanges.UNSIGNED_NATURAL_LONG |
The inclusive range of natural unsigned long integers,
[0,
18446744073709551615]. |
static UnsignedRangeInclusiveL |
UnsignedRanges.UNSIGNED_POSITIVE_LONG |
The inclusive range of positive unsigned long integers,
[1,
18446744073709551615]. |
| Modifier and Type | Method | Description |
|---|---|---|
UnsignedRangeInclusiveL |
UnsignedRangeInclusiveL.Builder.build() |
Builds a new
UnsignedRangeInclusiveL. |
static UnsignedRangeInclusiveL |
UnsignedRangeCheck.checkRangeIncludedInLong(UnsignedRangeInclusiveL inner,
String inner_name,
UnsignedRangeInclusiveL outer,
String outer_name) |
Assert that
inner (named inner_name) is included in the
given range outer (named outer_name). |
static UnsignedRangeInclusiveL |
UnsignedRangeInclusiveL.copyOf(UnsignedRangeInclusiveLType instance) |
Creates an immutable copy of a
UnsignedRangeInclusiveLType value. |
static UnsignedRangeInclusiveL |
UnsignedRangeInclusiveL.of(long lower,
long upper) |
Construct a new immutable
UnsignedRangeInclusiveL instance. |
UnsignedRangeInclusiveL |
UnsignedRangeInclusiveL.withLower(long value) |
Copy the current immutable object by setting a value for the
lower attribute. |
UnsignedRangeInclusiveL |
UnsignedRangeInclusiveL.withUpper(long value) |
Copy the current immutable object by setting a value for the
upper attribute. |
| Modifier and Type | Method | Description |
|---|---|---|
static long |
UnsignedRangeCheck.checkIncludedInLong(long x,
String x_name,
UnsignedRangeInclusiveL range,
String range_name) |
Assert that
x (named x_name) is included in the given
range range (named range_name). |
static UnsignedRangeInclusiveL |
UnsignedRangeCheck.checkRangeIncludedInLong(UnsignedRangeInclusiveL inner,
String inner_name,
UnsignedRangeInclusiveL outer,
String outer_name) |
Assert that
inner (named inner_name) is included in the
given range outer (named outer_name). |
default boolean |
UnsignedRangeInclusiveLType.isIncludedIn(UnsignedRangeInclusiveL other) |
Determine if the given range is included in this range.
|
Copyright © 2017 <code@io7m.com> http://io7m.com