Package-level declarations
Contains core declarations.
Types
Representation of explicit integers.
Representation of negative integers, including zero.
Representation of integers other than zero.
Representation of strings that have at least one character, excluding whitespaces.
Representation of lists that contain at least one element.
Representation of sets that contain at least one element.
Representation of positive integers, including zero.
Representation of strictly negative integers, excluding zero.
Representation of strictly positive integers, excluding zero.
Functions
Creates a NotEmptyList starting with a head and containing all the elements of the optional tail.
Creates a NotEmptyMap starting with a head and containing all the entries of the optional tail.
Creates a NotEmptySet starting with a head and containing all the elements of the optional tail.
Returns this integer as a NegativeInt, or IllegalArgumentException if this integer is strictly positive.
Returns this integer as a NonZeroInt, or IllegalArgumentException if this integer equals zero.
Returns this string as a NotBlankString, or IllegalArgumentException if this string is blank.
Returns a NotEmptyList containing all the elements of this collection, or an IllegalArgumentException if this collection is empty.
Returns a NotEmptyMap containing all the entries of this map, or an IllegalArgumentException if this map is empty.
Returns a NotEmptySet containing all the elements of this collection, or an IllegalArgumentException if this collection is empty.
Returns this integer as a PositiveInt, or IllegalArgumentException if this integer is strictly negative.
Returns this integer as a StrictlyNegativeInt, or IllegalArgumentException if this integer is positive.
Returns this integer as a StrictlyPositiveInt, or IllegalArgumentException if this integer is negative.