Java.Util.Scanner.NextLong Method
Returns the next token as a long in the current radix.

Syntax

[Android.Runtime.Register("nextLong", "()J", "")]
public long NextLong ()

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 long value.

Remarks

Returns the next token as a long 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