Table of Contents

Class Random

Namespace
Java.Util
Assembly
MASES.JNet.dll
public class Random : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
Inheritance
JVMBridgeBase
JVMBridgeBase<Serializable>
Random
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Serializable>.IsAssignableFrom<T>()
JVMBridgeBase<Serializable>.Execute<T>(params T[])
JVMBridgeBase<Serializable>.DynBridgeClazz
JVMBridgeBase<Serializable>.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

Random()

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

public Random()

Random(long)

public Random(long arg0)

Parameters

arg0 long

long

Random(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

public Random(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

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

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

NextFloat()

public float NextFloat()

Returns

float

float

NextGaussian()

public double NextGaussian()

Returns

double

double

NextInt()

public int NextInt()

Returns

int

int

NextInt(int)

public int NextInt(int arg0)

Parameters

arg0 int

int

Returns

int

int

NextLong()

public long NextLong()

Returns

long

long

SetSeed(long)

public void SetSeed(long arg0)

Parameters

arg0 long

long