Table of Contents

Class RandomGenerator

Namespace
Java.Util.RandomNs
Assembly
MASES.Netdroid.dll
public class RandomGenerator : JVMBridgeBase<RandomGenerator>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IRandomGenerator
Inheritance
JVMBridgeBase
JVMBridgeBase<RandomGenerator>
RandomGenerator
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<RandomGenerator>.IsAssignableFrom(IJavaType)
JVMBridgeBase<RandomGenerator>.IsAssignableFrom<T>()
JVMBridgeBase<RandomGenerator>.Execute<T>(params T[])
JVMBridgeBase<RandomGenerator>.DynBridgeClazz
JVMBridgeBase<RandomGenerator>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

RandomGenerator()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("RandomGenerator class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public RandomGenerator()

RandomGenerator(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("RandomGenerator class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public RandomGenerator(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Doubles()

public DoubleStream Doubles()

Returns

DoubleStream

DoubleStream

Doubles(double, double)

public DoubleStream Doubles(double arg0, double arg1)

Parameters

arg0 double

double

arg1 double

double

Returns

DoubleStream

DoubleStream

Doubles(long)

public DoubleStream Doubles(long arg0)

Parameters

arg0 long

long

Returns

DoubleStream

DoubleStream

Doubles(long, double, double)

public DoubleStream Doubles(long arg0, double arg1, double arg2)

Parameters

arg0 long

long

arg1 double

double

arg2 double

double

Returns

DoubleStream

DoubleStream

GetDefault()

public static RandomGenerator GetDefault()

Returns

RandomGenerator

RandomGenerator

Ints()

public IntStream Ints()

Returns

IntStream

IntStream

Ints(int, int)

public IntStream Ints(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

IntStream

IntStream

Ints(long)

public IntStream Ints(long arg0)

Parameters

arg0 long

long

Returns

IntStream

IntStream

Ints(long, int, int)

public IntStream Ints(long arg0, int arg1, int arg2)

Parameters

arg0 long

long

arg1 int

int

arg2 int

int

Returns

IntStream

IntStream

IsDeprecated()

public bool IsDeprecated()

Returns

bool

bool

Longs()

public LongStream Longs()

Returns

LongStream

LongStream

Longs(long)

public LongStream Longs(long arg0)

Parameters

arg0 long

long

Returns

LongStream

LongStream

Longs(long, long)

public LongStream Longs(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Returns

LongStream

LongStream

Longs(long, long, long)

public LongStream Longs(long arg0, long arg1, long arg2)

Parameters

arg0 long

long

arg1 long

long

arg2 long

long

Returns

LongStream

LongStream

NextBoolean()

public bool NextBoolean()

Returns

bool

bool

NextBytes(byte[])

public void NextBytes(byte[] arg0)

Parameters

arg0 byte[]

byte

NextDouble()

public double NextDouble()

Returns

double

double

NextDouble(double)

public double NextDouble(double arg0)

Parameters

arg0 double

double

Returns

double

double

NextDouble(double, double)

public double NextDouble(double arg0, double arg1)

Parameters

arg0 double

double

arg1 double

double

Returns

double

double

NextExponential()

public double NextExponential()

Returns

double

double

NextFloat()

public float NextFloat()

Returns

float

float

NextFloat(float)

public float NextFloat(float arg0)

Parameters

arg0 float

float

Returns

float

float

NextFloat(float, float)

public float NextFloat(float arg0, float arg1)

Parameters

arg0 float

float

arg1 float

float

Returns

float

float

NextGaussian()

public double NextGaussian()

Returns

double

double

NextGaussian(double, double)

public double NextGaussian(double arg0, double arg1)

Parameters

arg0 double

double

arg1 double

double

Returns

double

double

NextInt()

public int NextInt()

Returns

int

int

NextInt(int)

public int NextInt(int arg0)

Parameters

arg0 int

int

Returns

int

int

NextInt(int, int)

public int NextInt(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

int

int

NextLong()

public long NextLong()

Returns

long

long

NextLong(long)

public long NextLong(long arg0)

Parameters

arg0 long

long

Returns

long

long

NextLong(long, long)

public long NextLong(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Returns

long

long

Of(String)

public static RandomGenerator Of(String arg0)

Parameters

arg0 String

String

Returns

RandomGenerator

RandomGenerator