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 a NegativeInt, or returns an IllegalArgumentException if this integer is strictly positive.
Returns this integer as a NonZeroInt, or returns an IllegalArgumentException if this integer equals zero.
Returns this integer as a PositiveInt, or returns an IllegalArgumentException if this integer is strictly negative.
Returns this integer as a StrictlyNegativeInt, or returns an IllegalArgumentException if this integer is positive.
Returns this integer as a StrictlyPositiveInt, or returns an IllegalArgumentException if this integer is negative.