46 explicit Random (int64 seedValue) noexcept;
56 int nextInt() noexcept;
62 int nextInt (
int maxValue) noexcept;
72 int64 nextInt64() noexcept;
77 float nextFloat() noexcept;
82 double nextDouble() noexcept;
85 bool nextBool() noexcept;
93 void fillBitsRandomly (
void* bufferToFill,
size_t sizeInBytes);
96 void fillBitsRandomly (
BigInteger& arrayToChange,
int startBit,
int numBits);
100 void setSeed (int64 newSeed) noexcept;
103 int64
getSeed() const noexcept {
return seed; }
109 void combineSeed (int64 seedValue) noexcept;
117 void setSeedRandomly();
125 static Random& getSystemRandom() noexcept;
131 JUCE_LEAK_DETECTOR (
Random)
int64 getSeed() const noexcept