nextInt

fun nextInt(): Int

Reads a 32 bit signed integer from input stream.

Return

The next integer value in the stream.

Throws

Throws exception at end of stream.