Random
Overview
Random helper classes for psuedo random number generation.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
constructor
constructor
Random()
init()
Random()
Sub New()
constructor (array [0..15] of UInt32)
constructor(aSeedData: array [0..15] of UInt32)
Random(array [0..15] of UInt32 aSeedData)
init(_ aSeedData: array [0..15] of UInt32)
Random(array [0..15] of UInt32 aSeedData)
Sub New(aSeedData As array [0..15] of UInt32)
Parameters:
- aSeedData:
constructor (Int32)
constructor(aSeedData: Int32)
Random(Int32 aSeedData)
init(_ aSeedData: Int32)
Random(Int32 aSeedData)
Sub New(aSeedData As Int32)
Parameters:
- aSeedData:
CryptoSafeRandom
Parameters:
- aDest:
- aStart:
- aLength:
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
Random
Gets a next random value.
method Random: UInt32
UInt32 Random()
func Random() -> UInt32
UInt32 Random()
Function Random() As UInt32
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
Set
method Set(aVal: UInt32)
void Set(UInt32 aVal)
func Set(_ aVal: UInt32)
void Set(UInt32 aVal)
Sub Set(aVal As UInt32)
Parameters:
- aVal:
ToString virtual (declared in Object)
Gets the string representation of this method.
CryptoSafeRandom
Parameters:
- aDest:
- aStart:
- aLength:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
constructor
constructor
Random()
init()
Random()
Sub New()
constructor (array [0..15] of UInt32)
constructor(aSeedData: array [0..15] of UInt32)
Random(array [0..15] of UInt32 aSeedData)
init(_ aSeedData: array [0..15] of UInt32)
Random(array [0..15] of UInt32 aSeedData)
Sub New(aSeedData As array [0..15] of UInt32)
Parameters:
- aSeedData:
constructor (Int32)
constructor(aSeedData: Int32)
Random(Int32 aSeedData)
init(_ aSeedData: Int32)
Random(Int32 aSeedData)
Sub New(aSeedData As Int32)
Parameters:
- aSeedData:
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
Random
Gets a next random value.
method Random: UInt32
UInt32 Random()
func Random() -> UInt32
UInt32 Random()
Function Random() As UInt32
Set
method Set(aVal: UInt32)
void Set(UInt32 aVal)
func Set(_ aVal: UInt32)
void Set(UInt32 aVal)
Sub Set(aVal As UInt32)
Parameters:
- aVal:
ToString virtual (declared in Object)
Gets the string representation of this method.