Class Random
public class Random : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Serializable>Random
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)JVMBridgeBase<Serializable>.IsAssignableFrom<T>()JVMBridgeBase<Serializable>.Execute<T>(params T[])JVMBridgeBase<Serializable>.DynBridgeClazzJVMBridgeBase<Serializable>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
Doubles()
public DoubleStream Doubles()
Returns
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
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
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[])
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Random.html#nextBytes(byte[])
public void NextBytes(byte[] arg0)
Parameters
NextDouble()
public double NextDouble()
Returns
NextFloat()
public float NextFloat()
Returns
NextGaussian()
public double NextGaussian()
Returns
NextInt()
public int NextInt()
Returns
NextInt(int)
public int NextInt(int arg0)
Parameters
Returns
NextLong()
public long NextLong()
Returns
SetSeed(long)
public void SetSeed(long arg0)