Java.Util.Scanner.InvokeHasNext Method
Returns whether this Scanner has one or more tokens remaining to parse and the next token matches the given pattern.

Syntax

[Android.Runtime.Register("hasNext", "(Ljava/util/regex/Pattern;)Z", "")]
public bool InvokeHasNext (Java.Util.Regex.Pattern pattern)

Parameters

pattern
the pattern to check for.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionif the Scanner has been closed.

Remarks

Returns whether this Scanner has one or more tokens remaining to parse and the next token matches the given pattern. This method will block if the data is still being read.

[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