RandomGeneratorFactory.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 a RandomGeneratorFactory that can produce instances of
RandomGenerator that utilize the namealgorithm.
[Android.Runtime.Register("of", "(Ljava/lang/String;)Ljava/util/random/RandomGeneratorFactory;", "", ApiSince=35)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends java.util.random.RandomGenerator" })]
public static Java.Util.RandomGenerators.RandomGeneratorFactory? Of(string? name);
[<Android.Runtime.Register("of", "(Ljava/lang/String;)Ljava/util/random/RandomGeneratorFactory;", "", ApiSince=35)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T extends java.util.random.RandomGenerator" })>]
static member Of : string -> Java.Util.RandomGenerators.RandomGeneratorFactory
Parameters
- name
- String
Name of random number generator algorithm
Returns
RandomGeneratorFactory of RandomGenerator
- Attributes
Remarks
Returns a RandomGeneratorFactory that can produce instances of RandomGenerator that utilize the namealgorithm.
Java documentation for java.util.random.RandomGeneratorFactory.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.