46 explicit Random (int64 seedValue) noexcept;
59 int nextInt() noexcept;
65 int nextInt (
int maxValue) noexcept;
75 int64 nextInt64() noexcept;
80 float nextFloat() noexcept;
85 double nextDouble() noexcept;
88 bool nextBool() noexcept;
96 void fillBitsRandomly (
void* bufferToFill,
size_t sizeInBytes);
99 void fillBitsRandomly (
BigInteger& arrayToChange,
int startBit,
int numBits);
103 void setSeed (int64 newSeed) noexcept;
106 int64
getSeed() const noexcept {
return seed; }
112 void combineSeed (int64 seedValue) noexcept;
120 void setSeedRandomly();
128 static Random& getSystemRandom() noexcept;
134 JUCE_LEAK_DETECTOR (
Random)
int64 getSeed() const noexcept