Class RandomGenerator
public class RandomGenerator : JVMBridgeBase<RandomGenerator>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IRandomGenerator
- Inheritance
-
RandomGenerator
- Implements
- Derived
- Extension Methods
Constructors
RandomGenerator(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public RandomGenerator(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
Doubles()
public DoubleStream Doubles()
Returns
Doubles(double, double)
https://developer.android.com/reference/java/util/random/RandomGenerator.html#doubles(double,double)
public DoubleStream Doubles(double arg0, double arg1)
Parameters
Returns
Doubles(long)
public DoubleStream Doubles(long arg0)
Parameters
Returns
Doubles(long, double, double)
public DoubleStream Doubles(long arg0, double arg1, double arg2)
Parameters
Returns
GetDefault()
public static RandomGenerator GetDefault()
Returns
Ints()
public IntStream Ints()
Returns
Ints(int, int)
public IntStream Ints(int arg0, int arg1)
Parameters
Returns
Ints(long)
public IntStream Ints(long arg0)
Parameters
Returns
Ints(long, int, int)
public IntStream Ints(long arg0, int arg1, int arg2)
Parameters
Returns
IsDeprecated()
public bool IsDeprecated()
Returns
Longs()
public LongStream Longs()
Returns
Longs(long)
public LongStream Longs(long arg0)
Parameters
Returns
Longs(long, long)
public LongStream Longs(long arg0, long arg1)
Parameters
Returns
Longs(long, long, long)
public LongStream Longs(long arg0, long arg1, long arg2)
Parameters
Returns
NextBoolean()
public bool NextBoolean()
Returns
NextBytes(byte[])
public void NextBytes(byte[] arg0)
Parameters
NextDouble()
public double NextDouble()
Returns
NextDouble(double)
public double NextDouble(double arg0)
Parameters
Returns
NextDouble(double, double)
public double NextDouble(double arg0, double arg1)
Parameters
Returns
NextExponential()
public double NextExponential()
Returns
NextFloat()
public float NextFloat()
Returns
NextFloat(float)
public float NextFloat(float arg0)
Parameters
Returns
NextFloat(float, float)
https://developer.android.com/reference/java/util/random/RandomGenerator.html#nextFloat(float,float)
public float NextFloat(float arg0, float arg1)
Parameters
Returns
NextGaussian()
public double NextGaussian()
Returns
NextGaussian(double, double)
public double NextGaussian(double arg0, double arg1)
Parameters
Returns
NextInt()
public int NextInt()
Returns
NextInt(int)
public int NextInt(int arg0)
Parameters
Returns
NextInt(int, int)
public int NextInt(int arg0, int arg1)
Parameters
Returns
NextLong()
public long NextLong()
Returns
NextLong(long)
public long NextLong(long arg0)
Parameters
Returns
NextLong(long, long)
public long NextLong(long arg0, long arg1)
Parameters
Returns
Of(String)
public static RandomGenerator Of(String arg0)