Java.Util.Scanner.NextShort Method
Returns the next token as a short in the current radix.

Syntax

[Android.Runtime.Register("nextShort", "()S", "")]
public short NextShort ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionif this Scanner has been closed.
Java.Util.NoSuchElementExceptionif input has been exhausted.
Java.Util.InputMismatchExceptionif the next token can not be translated into a valid short value.

Remarks

Returns the next token as a short in the current radix. This method may block for more input.

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1