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
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQRandomGenerator(int)
withseedValue = 1
.QRandomGenerator
(int seedValue) QRandomGenerator
(int ... sseq) QRandomGenerator
(QRandomGenerator other) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(int other) Overloaded function forassign(io.qt.core.QRandomGenerator)
.final void
assign
(QRandomGenerator other) SeeQRandomGenerator::
operator=(QRandomGenerator) clone()
Creates and returns a copy of this object.final void
discard
(long z) boolean
Seeoperator!=(QRandomGenerator,
QRandomGenerator) 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 seedValue) -
QRandomGenerator
public QRandomGenerator(int ... sseq) -
QRandomGenerator
public QRandomGenerator()Overloaded constructor for
QRandomGenerator(int)
withseedValue = 1
.
-
-
Method Details
-
discard
-
generate
-
generate
See
QRandomGenerator::
generate(quint32*, quint32*) -
generate64
-
generateDouble
-
invoke
-
assign
See
QRandomGenerator::
operator=(QRandomGenerator) -
seed
-
seed
See
QRandomGenerator::
seed(std::initializer_list<uint>) -
global
-
max
public static int max() -
min
public static int min() -
securelySeeded
-
system
-
equals
See
operator!=(QRandomGenerator,
QRandomGenerator) -
hashCode
Returns the objects's hash code computed byqHash(QRandomGenerator)
. -
clone
Creates and returns a copy of this object.
-
assign
Overloaded function for
assign(io.qt.core.QRandomGenerator)
. -
seed
Overloaded function for
seed(int)
withs = 1
.
-