Companion

object Companion

Contains class-level declarations for the NonNegativeInteger type.

Functions

Link copied to clipboard

Returns a NonNegativeInteger representing the specified value, or throws an IllegalArgumentException if value is negative.

Link copied to clipboard

Returns a NonNegativeInteger representing the specified value, or returns null if value is negative.

Link copied to clipboard

Returns a NonNegativeInteger representing the specified value, or throws an IllegalArgumentException if value is negative.

Link copied to clipboard

Returns a NonNegativeInteger representing the specified value, or returns null if value is negative.

Link copied to clipboard

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

Link copied to clipboard

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