Table of Contents

Class RandomGenerator

Namespace
Java.Util.RandomNs
Assembly
MASES.Netdroid.dll
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

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

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