| Package | Description |
|---|---|
| org.nerd4j.utils.lang | |
| org.nerd4j.utils.math | |
| org.nerd4j.utils.tuple |
| Modifier and Type | Method and Description |
|---|---|
static Emptily |
Require.nonEmpty(Emptily value)
Checks that the specified
Emptily reference is not null nor empty. |
static Emptily |
Require.nonEmpty(Emptily value,
String message)
Checks that the specified
Emptily reference is not null nor empty
and throws a customized RequirementFailure if it is. |
static Emptily |
Require.nonEmpty(Emptily value,
Supplier<String> messageSupplier)
Checks that the specified
Emptily reference is not null nor empty
and throws a customized RequirementFailure if it is. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Is.empty(Emptily value)
Checks if the given value is
null or empty. |
static boolean |
IsNot.empty(Emptily value)
Checks if the given value is not
null nor empty. |
static Emptily |
Require.nonEmpty(Emptily value)
Checks that the specified
Emptily reference is not null nor empty. |
static Emptily |
Require.nonEmpty(Emptily value,
String message)
Checks that the specified
Emptily reference is not null nor empty
and throws a customized RequirementFailure if it is. |
static Emptily |
Require.nonEmpty(Emptily value,
Supplier<String> messageSupplier)
Checks that the specified
Emptily reference is not null nor empty
and throws a customized RequirementFailure if it is. |
| Modifier and Type | Class and Description |
|---|---|
class |
Interval<T extends Comparable<T>>
In mathematics, given a set
S and a total order relation <=
over the elements of S, we define an interval I as a
subset of S such that: given x,y in I such that x <= y we have
that for each s in S if x <= s <= y then s belongs to I. |
| Modifier and Type | Class and Description |
|---|---|
class |
ComparablePair<L,R>
Represents an immutable and comparable pair of values.
|
class |
ComparableTriple<L,M,R>
Represents an immutable and comparable triple of values.
|
class |
Pair<L,R>
Represents an immutable pair of values.
|
class |
Triple<L,M,R>
Represents an immutable triple of values.
|
Copyright © 2011–2020 Nerd4j. All rights reserved.