Package-level declarations
Contains types such as NonZeroInt
for manipulating numbers.
Types
Representation of all integers.
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
Calculates the remainder of truncating division of this integer by the other one.
Returns this number as an encapsulated NegativeInt, which may involve rounding or truncation, or returns an encapsulated IllegalArgumentException if this number is strictly positive.
Returns this number as an encapsulated NonZeroInt, which may involve rounding or truncation, or returns an encapsulated IllegalArgumentException if this number equals zero.
Returns this number as an encapsulated PositiveInt, which may involve rounding or truncation, or returns an encapsulated IllegalArgumentException if this number is strictly negative.
Returns this number as an encapsulated StrictlyNegativeInt, which may involve rounding or truncation, or returns an encapsulated IllegalArgumentException if this number is positive.
Returns this number as an encapsulated StrictlyPositiveInt, which may involve rounding or truncation, or returns an encapsulated IllegalArgumentException if this number is negative.