java.lang.Object
io.qt.QtObject
io.qt.core.QRandomGenerator
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Allows one to obtain random values from a high-quality Random Number Generator
Java wrapper for Qt class QRandomGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorsConstructorDescriptionOverloaded constructor forQRandomGenerator(int)
withseedValue = 1
.QRandomGenerator
(int seedValue) QRandomGenerator
(int ... sseq) QRandomGenerator
(QRandomGenerator other) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QRandomGenerator other) SeeQRandomGenerator::
operator=(QRandomGenerator) clone()
Creates and returns a copy of this object.final void
discard
(long z) boolean
Seeoperator!
final int
generate()
final void
generate
(int [] array) SeeQRandomGenerator::
generate(quint32*, quint32*) final long
final double
static QRandomGenerator
global()
int
hashCode()
Returns the objects's hash code computed byqHash(QRandomGenerator)
.final int
invoke()
static int
max()
static int
min()
static QRandomGenerator
final void
seed()
Overloaded function forseed(int)
withs = 1
.final void
seed
(int s) final void
seed
(int ... sseq) SeeQRandomGenerator::
seed(std::initializer_list<uint>) static QRandomGenerator
system()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QRandomGenerator
-
QRandomGenerator
public QRandomGenerator(int ... sseq) -
QRandomGenerator
public QRandomGenerator()Overloaded constructor for
QRandomGenerator(int)
withseedValue = 1
. -
QRandomGenerator
public QRandomGenerator(int seedValue)
-
-
Method Details
-
discard
-
generate
-
generate
See
QRandomGenerator::
generate(quint32*, quint32*) -
generate64
-
generateDouble
-
invoke
-
assign
See
QRandomGenerator::
operator=(QRandomGenerator) -
seed
See
QRandomGenerator::
seed(std::initializer_list<uint>) -
seed
Overloaded function for
seed(int)
withs = 1
. -
seed
-
global
-
max
public static int max() -
min
public static int min() -
securelySeeded
-
system
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QRandomGenerator)
. -
clone
Creates and returns a copy of this object.
-