Package-level declarations
Contains types such as NonZeroInt
for manipulating numbers.
Types
Representation of negative integers including zero.
Representation of integers other than zero.
Representation of positive integers including zero.
Representation of negative integers excluding zero.
Representation of positive integers excluding zero.
Representation of the zero integer.
Functions
Returns this integer as an encapsulated NegativeInt, or returns an encapsulated IllegalArgumentException if this integer is strictly positive.
Returns this integer as an encapsulated NonZeroInt, or returns an encapsulated IllegalArgumentException if this integer equals zero.
Returns this integer as an encapsulated PositiveInt, or returns an encapsulated IllegalArgumentException if this integer is strictly negative.
Returns this integer as an encapsulated StrictlyNegativeInt, or returns an encapsulated IllegalArgumentException if this integer is positive.
Returns this integer as an encapsulated StrictlyPositiveInt, or returns an encapsulated IllegalArgumentException if this integer is negative.