Sdílet prostřednictvím


Scanner.NextBigInteger Method

Definition

Overloads

NextBigInteger()

Scans the next token of the input as a java.math.BigInteger BigInteger.

NextBigInteger(Int32)

Scans the next token of the input as a java.math.BigInteger BigInteger.

NextBigInteger()

Scans the next token of the input as a java.math.BigInteger BigInteger.

[Android.Runtime.Register("nextBigInteger", "()Ljava/math/BigInteger;", "")]
public Java.Math.BigInteger? NextBigInteger ();
[<Android.Runtime.Register("nextBigInteger", "()Ljava/math/BigInteger;", "")>]
member this.NextBigInteger : unit -> Java.Math.BigInteger

Returns

the BigInteger scanned from the input

Attributes

Exceptions

if this Scanner has been closed.

if input has been exhausted.

if the next token can not be translated into a valid BigInteger.

Remarks

Java documentation for java.util.Scanner.nextBigInteger().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

NextBigInteger(Int32)

Scans the next token of the input as a java.math.BigInteger BigInteger.

[Android.Runtime.Register("nextBigInteger", "(I)Ljava/math/BigInteger;", "")]
public Java.Math.BigInteger? NextBigInteger (int radix);
[<Android.Runtime.Register("nextBigInteger", "(I)Ljava/math/BigInteger;", "")>]
member this.NextBigInteger : int -> Java.Math.BigInteger

Parameters

radix
Int32

the radix used to interpret the token

Returns

the BigInteger scanned from the input

Attributes

Exceptions

if this Scanner has been closed.

if input has been exhausted.

if the next token can not be translated into a valid BigInteger.

Remarks

Java documentation for java.util.Scanner.nextBigInteger(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to