intOf

abstract fun intOf(value: BigInteger): Integer
abstract fun intOf(value: Int): Integer
abstract fun intOf(value: Long): Integer
abstract fun intOf(value: Short): Integer
abstract fun intOf(value: Byte): Integer

Creates an Integer out of value. See Integer.of.


abstract fun intOf(value: String): Integer

Parses value into an Integer. See Integer.of.

Throws

if value is not a valid integer literal


abstract fun intOf(value: String, radix: Int): Integer

Parses value, expressed in the given radix, into an Integer. See Integer.of.

Throws

if value is not a valid integer literal in radix