Partager via


IRandomGenerator.Of(String) Method

Definition

Returns an instance of RandomGenerator that utilizes the namealgorithm.

[Android.Runtime.Register("of", "(Ljava/lang/String;)Ljava/util/random/RandomGenerator;", "", ApiSince=35)]
public static Java.Util.RandomGenerators.IRandomGenerator? Of (string? name);
[<Android.Runtime.Register("of", "(Ljava/lang/String;)Ljava/util/random/RandomGenerator;", "", ApiSince=35)>]
static member Of : string -> Java.Util.RandomGenerators.IRandomGenerator

Parameters

name
String

Name of random number generator algorithm

Returns

An instance of RandomGenerator

Attributes

Remarks

Returns an instance of RandomGenerator that utilizes the namealgorithm.

Java documentation for java.util.random.RandomGenerator.of(java.lang.String).

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