Partager via


RandomGeneratorFactory.Period Method

Definition

Return the period of the algorithm used by the random number generator.

[Android.Runtime.Register("period", "()Ljava/math/BigInteger;", "", ApiSince=35)]
public Java.Math.BigInteger? Period ();
[<Android.Runtime.Register("period", "()Ljava/math/BigInteger;", "", ApiSince=35)>]
member this.Period : unit -> Java.Math.BigInteger

Returns

BigInteger period.

Attributes

Remarks

Return the period of the algorithm used by the random number generator. Returns BigInteger.ZERO if period is not determinable.

Java documentation for java.util.random.RandomGeneratorFactory.period().

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