Package-level declarations
Types
Represents negative integers, including 0
.
Represents integers that don't equal 0
.
Represents positive integers, including 0
.
Represents strictly negative integers, excluding 0
.
Represents strictly positive integers, excluding 0
.
Functions
Divides this value by the other value, truncating the result to an integer that is closer to 0
. Throws an ArithmeticException if the other value equals 0
.
Divides this value by the other value, truncating the result to an integer that is closer to 0
.
Subtracts the other value from this value.
Adds the other value to this value.
Multiplies this value by the other value.
Returns this value as a negative int, or throws an IllegalArgumentException if this value is strictly positive.
Returns this value as a negative int, or returns null
if this value is strictly positive.
Returns this value as a non-zero int, or throws an IllegalArgumentException if this value equals 0
.
Returns this value as a non-zero int, or returns null
if this value equals 0
.
Returns this value as a positive int, or throws an IllegalArgumentException if this value is strictly negative.
Returns this value as a positive int, or returns null
if this value is strictly negative.
Returns this value as a strictly negative int, or throws an IllegalArgumentException if this value is positive.
Returns this value as a strictly negative int, or returns null
if this value is positive.
Returns this value as a strictly positive int, or throws an IllegalArgumentException if this value is negative.
Returns this value as a strictly positive int, or returns null
if this value is negative.