Companion

object Companion

Contains class-level declarations for the Integer type.

Functions

Link copied to clipboard
fun from(number: Long): Integer

Creates an Integer from the specified number.

Link copied to clipboard

Creates an Integer from the specified text, or throws an IllegalArgumentException if the text doesn't represent an integer.

Link copied to clipboard

Creates an Integer from the specified text, or returns null if the text doesn't represent an integer.