Package-level declarations
Contains types such as NonZeroInt for manipulating numbers.
Types
Represents an integer number of type Int.
Represents an integer number of type Int that is less than or equals zero.
Represents an integer number of type Int that is other than zero.
Represents an integer number of type Int that is greater than or equals zero.
Represents a floating-point number of type Double that is less than zero.
Represents an integer number of type Int that is less than zero.
Represents an integer number of type Int that is greater than zero.
Represents an integer number of type Int that equals zero.
Functions
Subtracts the other integer from this one.
Calculates the remainder of truncating division of this integer by the other one.
Multiplies 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.