Companion

object Companion

Contains class-level declarations for the NonPositiveInteger type.

Functions

Link copied to clipboard

Returns a NonPositiveInteger representing the specified value, or throws an IllegalArgumentException if value is positive.

Link copied to clipboard

Returns a NonPositiveInteger representing the specified value, or returns null if value is positive.

Link copied to clipboard

Returns a NonPositiveInteger representing the specified value, or throws an IllegalArgumentException if value is positive.

Link copied to clipboard

Returns a NonPositiveInteger representing the specified value, or returns null if value is positive.

Link copied to clipboard

Returns a NonPositiveInteger representing the number described by value, or throws NumberFormatException if value doesn't represent an integer, or IllegalArgumentException if value represents a positive integer.

Link copied to clipboard

Returns a NonPositiveInteger representing the number described by value, or returns null if value doesn't represent an integer or represents a positive integer.