Java.Util.Scanner.NextBigInteger Method
Returns the next token as a BigInteger with the specified radix.

Syntax

[Android.Runtime.Register("nextBigInteger", "(I)Ljava/math/BigInteger;", "")]
public Java.Math.BigInteger NextBigInteger (int radix)

Parameters

radix
the radix used to translate the token into a BigInteger.

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 BigInteger.

Remarks

Returns the next token as a BigInteger with the specified radix. This method will block if input is being read. If the next token can be translated into a BigInteger the following is done: All Locale-specific prefixes, group separators, and Locale-specific suffixes are removed. Then non-ASCII digits are mapped into ASCII digits via Java.Lang.Character.Digit(char, System.Int32), and a negative sign (-) is added if the Locale-specific negative prefix or suffix was present. Finally the resulting String is passed to Java.Math.BigInteger(string, System.Int32)} with the specified radix.

[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