IRandomGenerator.Of(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an instance of RandomGenerator
that utilizes the
name
algorithm.
[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 name
algorithm.
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.