Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AceRandom - Class in com.github.tommyettinger.random
-
Like TrimRandom with five 64-bit states; does not use multiplication, only add, subtract, XOR, and left-rotate operations.
- AceRandom() - Constructor for class com.github.tommyettinger.random.AceRandom
-
Creates a new AceRandom with a random state.
- AceRandom(long) - Constructor for class com.github.tommyettinger.random.AceRandom
-
Creates a new AceRandom with the given seed; all
long
values are permitted. - AceRandom(long, long) - Constructor for class com.github.tommyettinger.random.AceRandom
-
Creates a new AceRandom with the given two states; all
long
values are permitted. - AceRandom(long, long, long) - Constructor for class com.github.tommyettinger.random.AceRandom
-
Creates a new AceRandom with the given three states; all
long
values are permitted. - AceRandom(long, long, long, long) - Constructor for class com.github.tommyettinger.random.AceRandom
-
Creates a new AceRandom with the given four states; all
long
values are permitted. - AceRandom(long, long, long, long, long) - Constructor for class com.github.tommyettinger.random.AceRandom
-
Creates a new AceRandom with the given five states; all
long
values are permitted. - add(long) - Method in class com.github.tommyettinger.random.LongSequence
- appendSerialized(StringBuilder) - Method in class com.github.tommyettinger.random.ArchivalWrapper
- appendSerialized(StringBuilder) - Method in class com.github.tommyettinger.random.KnownSequenceRandom
- appendSerialized(StringBuilder) - Method in class com.github.tommyettinger.random.LongSequence
- appendSerialized(StringBuilder, Base) - Method in class com.github.tommyettinger.random.ArchivalWrapper
- appendSerialized(StringBuilder, Base) - Method in class com.github.tommyettinger.random.KnownSequenceRandom
- appendSerialized(StringBuilder, Base) - Method in class com.github.tommyettinger.random.LongSequence
- applyAsDouble(Distribution) - Method in enum class com.github.tommyettinger.random.DistributedRandom.ReductionMode
- ArchivalWrapper - Class in com.github.tommyettinger.random
-
Wraps another
EnhancedRandom
and stores everylong
it returns fromArchivalWrapper.nextLong()
in a LongSequenceArchivalWrapper.archive
. - ArchivalWrapper() - Constructor for class com.github.tommyettinger.random.ArchivalWrapper
- ArchivalWrapper(EnhancedRandom) - Constructor for class com.github.tommyettinger.random.ArchivalWrapper
- ArchivalWrapper(EnhancedRandom, LongSequence) - Constructor for class com.github.tommyettinger.random.ArchivalWrapper
- archive - Variable in class com.github.tommyettinger.random.ArchivalWrapper
- ArcsineDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with range from 0 to 1, both exclusive.
- ArcsineDistribution() - Constructor for class com.github.tommyettinger.random.distribution.ArcsineDistribution
-
Uses an
AceRandom
, alpha = 0.0, beta = 1.0 . - ArcsineDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.ArcsineDistribution
-
Uses an
AceRandom
and the given alpha and beta. - ArcsineDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.ArcsineDistribution
-
Uses the given EnhancedRandom directly.
- areEqual(EnhancedRandom, EnhancedRandom) - Static method in class com.github.tommyettinger.random.EnhancedRandom
-
Given two EnhancedRandom objects that could have the same or different classes, this returns true if they have the same class and same state, or false otherwise.
B
- Bear32Random - Class in com.github.tommyettinger.random
-
A random number generator that is optimized for performance on 32-bit machines and with Google Web Toolkit, this uses
Integer.numberOfLeadingZeros(int)
or its GWT equivalent, and has a period of exactly 2 to the 128. - Bear32Random() - Constructor for class com.github.tommyettinger.random.Bear32Random
-
Creates a new Bear32Random with a random state.
- Bear32Random(int, int, int, int) - Constructor for class com.github.tommyettinger.random.Bear32Random
-
Creates a new Bear32Random with the given four states; all
int
values are permitted. - Bear32Random(long) - Constructor for class com.github.tommyettinger.random.Bear32Random
-
Creates a new Bear32Random with the given seed; all
long
values are permitted. - BernoulliDistribution - Class in com.github.tommyettinger.random.distribution
-
A one-parameter discrete distribution with integer range from 0 inclusive to 1 inclusive.
- BernoulliDistribution() - Constructor for class com.github.tommyettinger.random.distribution.BernoulliDistribution
-
Uses an
AceRandom
, alpha = 0.5 . - BernoulliDistribution(double) - Constructor for class com.github.tommyettinger.random.distribution.BernoulliDistribution
-
Uses an
AceRandom
and the given alpha. - BernoulliDistribution(EnhancedRandom, double) - Constructor for class com.github.tommyettinger.random.distribution.BernoulliDistribution
-
Uses the given EnhancedRandom directly.
- BetaDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with range from 0 to 1, both exclusive.
- BetaDistribution() - Constructor for class com.github.tommyettinger.random.distribution.BetaDistribution
-
Uses an
AceRandom
, alpha = 1.0, beta = 1.0 . - BetaDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.BetaDistribution
-
Uses an
AceRandom
and the given alpha and beta. - BetaDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.BetaDistribution
-
Uses the given EnhancedRandom directly.
- BetaPrimeDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with range from 0 to positive infinity.
- BetaPrimeDistribution() - Constructor for class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
-
Uses an
AceRandom
, alpha = 2.0, beta = 2.0 . - BetaPrimeDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
-
Uses an
AceRandom
and the given alpha and beta. - BetaPrimeDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
-
Uses the given EnhancedRandom directly.
- bicubicWobble(int, double) - Static method in class com.github.tommyettinger.random.LineWobble
-
Sway smoothly using bicubic interpolation between 4 points (the two integers before t and the two after).
- bicubicWobble(int, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
Sway smoothly using bicubic interpolation between 4 points (the two integers before t and the two after).
- bicubicWobble(long, double) - Static method in class com.github.tommyettinger.random.LineWobble
-
Sway smoothly using bicubic interpolation between 4 points (the two integers before t and the two after).
- bicubicWobble(long, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
Sway smoothly using bicubic interpolation between 4 points (the two integers before t and the two after).
- BinomialDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter discrete distribution with integer range from 0 (inclusive) to beta (inclusive).
- BinomialDistribution() - Constructor for class com.github.tommyettinger.random.distribution.BinomialDistribution
-
Uses an
AceRandom
, alpha = 0.5, beta = 1 . - BinomialDistribution(double, int) - Constructor for class com.github.tommyettinger.random.distribution.BinomialDistribution
-
Uses an
AceRandom
and the given beta and alpha. - BinomialDistribution(EnhancedRandom, double, int) - Constructor for class com.github.tommyettinger.random.distribution.BinomialDistribution
-
Uses the given EnhancedRandom directly.
C
- CauchyDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with infinite range.
- CauchyDistribution() - Constructor for class com.github.tommyettinger.random.distribution.CauchyDistribution
-
Uses an
AceRandom
, alpha = 1.0, gamma = 1.0 . - CauchyDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.CauchyDistribution
-
Uses an
AceRandom
and the given alpha and gamma. - CauchyDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.CauchyDistribution
-
Uses the given EnhancedRandom directly.
- ChiDistribution - Class in com.github.tommyettinger.random.distribution
-
A one-parameter distribution with range from 0 exclusive to positive infinity.
- ChiDistribution() - Constructor for class com.github.tommyettinger.random.distribution.ChiDistribution
-
Uses an
AceRandom
, alpha = 1 . - ChiDistribution(int) - Constructor for class com.github.tommyettinger.random.distribution.ChiDistribution
-
Uses an
AceRandom
and the given alpha. - ChiDistribution(EnhancedRandom, int) - Constructor for class com.github.tommyettinger.random.distribution.ChiDistribution
-
Uses the given EnhancedRandom directly.
- Chill32Random - Class in com.github.tommyettinger.random
-
A random number generator that is optimized for performance on 32-bit machines and with Google Web Toolkit, Chill32Random is a 32-bit-native generator that doesn't have any shorter subcycles (because it only has one cycle, of length 2 to the 96).
- Chill32Random() - Constructor for class com.github.tommyettinger.random.Chill32Random
-
Creates a new Chill32Random with a random state.
- Chill32Random(int, int, int) - Constructor for class com.github.tommyettinger.random.Chill32Random
-
Creates a new Chill32Random with the given three states.
- Chill32Random(long) - Constructor for class com.github.tommyettinger.random.Chill32Random
-
Creates a new Chill32Random with the given seed; all
long
values are permitted. - ChiSquareDistribution - Class in com.github.tommyettinger.random.distribution
-
A one-parameter distribution with range from 0 exclusive to positive infinity.
- ChiSquareDistribution() - Constructor for class com.github.tommyettinger.random.distribution.ChiSquareDistribution
-
Uses an
AceRandom
, alpha = 1 . - ChiSquareDistribution(int) - Constructor for class com.github.tommyettinger.random.distribution.ChiSquareDistribution
-
Uses an
AceRandom
and the given alpha. - ChiSquareDistribution(EnhancedRandom, int) - Constructor for class com.github.tommyettinger.random.distribution.ChiSquareDistribution
-
Uses the given EnhancedRandom directly.
- choice - Variable in class com.github.tommyettinger.random.LowChangeQuasiRandom
-
The secondary state of the generator; the upper 6 bits are used to determine which single bit will change in
LowChangeQuasiRandom.state
when a new number is generated. - Choo32Random - Class in com.github.tommyettinger.random
-
A random number generator that is optimized for performance on 32-bit machines and with Google Web Toolkit.
- Choo32Random() - Constructor for class com.github.tommyettinger.random.Choo32Random
-
Creates a new Choo32Random with a random state.
- Choo32Random(int) - Constructor for class com.github.tommyettinger.random.Choo32Random
-
Creates a new Choo32Random with the given seed; all
long
values are permitted. - Choo32Random(int, int, int, int) - Constructor for class com.github.tommyettinger.random.Choo32Random
-
Creates a new Choo32Random with the given four states; all
int
values are permitted. - Choo32Random(long) - Constructor for class com.github.tommyettinger.random.Choo32Random
-
Creates a new Choo32Random with the given seed; all
long
values are permitted. - ChopRandom - Class in com.github.tommyettinger.random
-
A random number generator that is optimized for performance on 32-bit machines and with Google Web Toolkit, this uses only add, bitwise-rotate, and XOR operations (no multiplication).
- ChopRandom() - Constructor for class com.github.tommyettinger.random.ChopRandom
-
Creates a new ChopRandom with a random state.
- ChopRandom(int, int, int, int) - Constructor for class com.github.tommyettinger.random.ChopRandom
-
Creates a new ChopRandom with the given four states; all
int
values are permitted. - ChopRandom(long) - Constructor for class com.github.tommyettinger.random.ChopRandom
-
Creates a new ChopRandom with the given seed; all
long
values are permitted. - CLAMP - Enum constant in enum class com.github.tommyettinger.random.DistributedRandom.ReductionMode
-
Gets one distributed double and clamps it to 0.0 if it is less than 0.0, or to 0.9999999999999999 if it is 0.9999999999999999 or greater, then uses that.
- clear() - Method in class com.github.tommyettinger.random.LongSequence
- com.github.tommyettinger.random - package com.github.tommyettinger.random
-
Random number generators and the code they share, such as the
EnhancedRandom parent class
and theDeserializer that can read back any class here
. - com.github.tommyettinger.random.cipher - package com.github.tommyettinger.random.cipher
- com.github.tommyettinger.random.distribution - package com.github.tommyettinger.random.distribution
-
Statistical distributions that make use of
EnhancedRandom
generators from this library. - ContinuousUniformDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with range between the given parameters, both inclusive.
- ContinuousUniformDistribution() - Constructor for class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
-
Uses an
AceRandom
, alpha = 0.0, beta = 1.0 . - ContinuousUniformDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
-
Uses an
AceRandom
and the given alpha and beta. - ContinuousUniformDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
-
Uses the given EnhancedRandom directly.
- copy() - Method in class com.github.tommyettinger.random.AceRandom
- copy() - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Creates a new EnhancedRandom with identical states to this one, so if the same EnhancedRandom methods are called on this object and its copy (in the same order), the same outputs will be produced.
- copy() - Method in class com.github.tommyettinger.random.Bear32Random
- copy() - Method in class com.github.tommyettinger.random.Chill32Random
- copy() - Method in class com.github.tommyettinger.random.Choo32Random
- copy() - Method in class com.github.tommyettinger.random.ChopRandom
- copy() - Method in class com.github.tommyettinger.random.Crand64Random
- copy() - Method in class com.github.tommyettinger.random.DistinctRandom
- copy() - Method in class com.github.tommyettinger.random.DistributedRandom
- copy() - Method in class com.github.tommyettinger.random.distribution.ArcsineDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.BernoulliDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.BetaDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.BinomialDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.CauchyDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.ChiDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.ChiSquareDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Returns an exact copy of this Distribution, with the same parameters and a copy of the generator.
- copy() - Method in class com.github.tommyettinger.random.distribution.ErlangDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.ExponentialDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.FisherTippettDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.GammaDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.GeometricDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.KnobDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.LaplaceDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.LogCauchyDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.LogisticDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.LogNormalDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.LumpDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.NormalDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.ParetoDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.PoissonDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.PowerDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.RayleighDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.StudentsTDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.TriangularDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.WeibullDistribution
- copy() - Method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
- copy() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Creates a new EnhancedRandom with identical states to this one, so if the same EnhancedRandom methods are called on this object and its copy (in the same order), the same outputs will be produced.
- copy() - Method in class com.github.tommyettinger.random.FlowRandom
- copy() - Method in class com.github.tommyettinger.random.FourWheelRandom
- copy() - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
- copy() - Method in class com.github.tommyettinger.random.InterpolatedRandom
- copy() - Method in class com.github.tommyettinger.random.Jsf32Random
- copy() - Method in class com.github.tommyettinger.random.KnownSequenceRandom
-
Creates a new EnhancedRandom with identical states to this one, so if the same EnhancedRandom methods are called on this object and its copy (in the same order), the same outputs will be produced.
- copy() - Method in class com.github.tommyettinger.random.LaserRandom
-
Creates a new
LaserRandom
with identical states to this one, so if the same LaserRandom methods are called on this object and its copy (in the same order), the same outputs will be produced. - copy() - Method in class com.github.tommyettinger.random.LongSequence
- copy() - Method in class com.github.tommyettinger.random.LowChangeQuasiRandom
- copy() - Method in class com.github.tommyettinger.random.MizuchiRandom
- copy() - Method in class com.github.tommyettinger.random.PasarRandom
- copy() - Method in class com.github.tommyettinger.random.PcgRXSMXSRandom
- copy() - Method in class com.github.tommyettinger.random.PouchRandom
- copy() - Method in class com.github.tommyettinger.random.Respite32Random
- copy() - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Creates a new EnhancedRandom with identical states to this one, so if the same EnhancedRandom methods are called on this object and its copy (in the same order), the same outputs will be produced.
- copy() - Method in class com.github.tommyettinger.random.RomuTrioRandom
- copy() - Method in class com.github.tommyettinger.random.ScruffRandom
- copy() - Method in class com.github.tommyettinger.random.Sfc64Random
- copy() - Method in class com.github.tommyettinger.random.StrangerRandom
- copy() - Method in class com.github.tommyettinger.random.Taxon32Random
- copy() - Method in class com.github.tommyettinger.random.TricycleRandom
- copy() - Method in class com.github.tommyettinger.random.TrimRandom
- copy() - Method in class com.github.tommyettinger.random.TupleQuasiRandom
- copy() - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
- copy() - Method in class com.github.tommyettinger.random.WhiskerRandom
- copy() - Method in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
- copy() - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- copy() - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
- copy() - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
- copyDistributions() - Static method in class com.github.tommyettinger.random.Deserializer
-
Returns an unordered List of copies of the Distribution "prototype" objects this uses during deserialization.
- copyDistributionTags() - Static method in class com.github.tommyettinger.random.Deserializer
-
Creates an unordered Set of all String tags for Distribution types Deserializer knows, and returns it.
- copyRandoms() - Static method in class com.github.tommyettinger.random.Deserializer
-
Returns an unordered List of copies of the EnhancedRandom "prototype" objects this uses during deserialization.
- copyTags() - Static method in class com.github.tommyettinger.random.Deserializer
-
Creates an unordered Set of all String tags for EnhancedRandom types Deserializer knows, and returns it.
- Crand64Random - Class in com.github.tommyettinger.random
-
A 256-bit "chaotic" generator that also includes an (odd-number) 64-bit stream.
- Crand64Random() - Constructor for class com.github.tommyettinger.random.Crand64Random
-
Creates a new AceRandom with a random state.
- Crand64Random(long) - Constructor for class com.github.tommyettinger.random.Crand64Random
-
Creates a new AceRandom with the given seed; all
long
values are permitted. - Crand64Random(long, long, long, long, long) - Constructor for class com.github.tommyettinger.random.Crand64Random
-
Creates a new AceRandom with the given five states; all
long
values are permitted.
D
- decrypt(long[], byte[], int, byte[], int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
A usually-internal decryption step.
- decrypt(long[], long[], int, long[], int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
A usually-internal decryption step.
- decryptCBC(long, long, long, long, long, long, byte[], int, byte[], int, int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
One of the main ways here to encrypt a "plaintext" byte array and get back a coded "ciphertext" byte array.
- decryptCBC(long, long, long, long, long, long, long[], int, long[], int, int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
One of the main ways here to decrypt a coded "ciphertext" long array and get back the original "plaintext" long array from before
SpeckCipher.encryptCBC(long, long, long, long, long, long, long[], int, long[], int, int)
was called. - decryptCTR(long, long, long, long, long, byte[], int, byte[], int, int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
One of the main ways here to decrypt a coded "ciphertext" byte array and get back a "plaintext" byte array.
- decryptCTR(long, long, long, long, long, int, byte[], int, byte[], int, int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
One of the main ways here to decrypt a coded "ciphertext" byte array and get back a "plaintext" byte array.
- decryptCTR(long, long, long, long, long, long[], int, long[], int, int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
One of the main ways here to decrypt a coded "ciphertext" long array and get back a "plaintext" long array.
- decryptInPlaceCTR(long, long, long, long, long, byte[], int, int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
Decrypts a coded "ciphertext" byte array and changes it in-place to a "plaintext" byte array.
- decryptInPlaceCTR(long, long, long, long, long, ByteBuffer, int, int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
Decrypts a coded "ciphertext" ByteBuffer and changes it in-place to a "plaintext" ByteBuffer.
- deserialize(String) - Static method in class com.github.tommyettinger.random.Deserializer
-
Given a String produced by calling
EnhancedRandom.stringSerialize()
on any registered implementation (as withDeserializer.register(EnhancedRandom)
), this reads in the deserialized data and returns a new EnhancedRandom of the appropriate type. - deserialize(String, Base) - Static method in class com.github.tommyettinger.random.Deserializer
-
Given a String produced by calling
EnhancedRandom.stringSerialize(Base)
on any registered implementation (as withDeserializer.register(EnhancedRandom)
), this reads in the deserialized data and returns a new EnhancedRandom of the appropriate type. - deserializeDistribution(String) - Static method in class com.github.tommyettinger.random.Deserializer
-
Given a String produced by calling
Distribution.stringSerialize()
on any registered implementation (as withDeserializer.register(Distribution)
), this reads in the deserialized data and returns a new Distribution of the appropriate type. - deserializeDistribution(String, Base) - Static method in class com.github.tommyettinger.random.Deserializer
-
Given a String produced by calling
Distribution.stringSerialize(Base)
on any registered implementation (as withDeserializer.register(Distribution)
), this reads in the deserialized data and returns a new Distribution of the appropriate type. - Deserializer - Class in com.github.tommyettinger.random
-
Allows deserializing any type of EnhancedRandom by looking up its tag in a registry.
- DiscreteUniformDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter discrete distribution with integer range between the given parameters, both inclusive.
- DiscreteUniformDistribution() - Constructor for class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
-
Uses an
AceRandom
, alpha = 0, beta = 1 . - DiscreteUniformDistribution(int, int) - Constructor for class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
-
Uses an
AceRandom
and the given alpha and beta. - DiscreteUniformDistribution(EnhancedRandom, int, int) - Constructor for class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
-
Uses the given EnhancedRandom directly.
- DistinctRandom - Class in com.github.tommyettinger.random
-
A variant on Java 8's SplittableRandom algorithm, removing the splittable quality so this has one possible stream.
- DistinctRandom() - Constructor for class com.github.tommyettinger.random.DistinctRandom
-
Creates a new DistinctRandom with a random state.
- DistinctRandom(long) - Constructor for class com.github.tommyettinger.random.DistinctRandom
-
Creates a new DistinctRandom with the given state; all
long
values are permitted. - DistributedRandom - Class in com.github.tommyettinger.random
-
An EnhancedRandom that delegates to a
Distribution
to distribute any floats, ints, or doubles as by that distribution. - DistributedRandom() - Constructor for class com.github.tommyettinger.random.DistributedRandom
- DistributedRandom(long) - Constructor for class com.github.tommyettinger.random.DistributedRandom
- DistributedRandom(long, long, long, long) - Constructor for class com.github.tommyettinger.random.DistributedRandom
- DistributedRandom(Distribution, DistributedRandom.ReductionMode) - Constructor for class com.github.tommyettinger.random.DistributedRandom
- DistributedRandom(Distribution, DistributedRandom.ReductionMode, long) - Constructor for class com.github.tommyettinger.random.DistributedRandom
- DistributedRandom(Distribution, DistributedRandom.ReductionMode, long, long, long, long) - Constructor for class com.github.tommyettinger.random.DistributedRandom
- DistributedRandom(Distribution, DistributedRandom.ReductionMode, EnhancedRandom) - Constructor for class com.github.tommyettinger.random.DistributedRandom
-
Creates a DistributedRandom that follows the given Distribution (copied), limiting its results using the given ReductionMode, and uses a direct reference to the given EnhancedRandom.
- DistributedRandom(EnhancedRandom) - Constructor for class com.github.tommyettinger.random.DistributedRandom
-
Creates a DistributedRandom that follows a ContinuousUniformDistribution, limiting its results using
DistributedRandom.ReductionMode.FRACTION
, and uses a direct reference to the given EnhancedRandom. - DistributedRandom.ReductionMode - Enum Class in com.github.tommyettinger.random
-
One of two possible modes this can use to limit the range of a Distribution.
- distribution - Variable in class com.github.tommyettinger.random.DistributedRandom
- Distribution - Class in com.github.tommyettinger.random.distribution
-
The parent (abstract) class for all distributions.
- Distribution() - Constructor for class com.github.tommyettinger.random.distribution.Distribution
E
- encrypt(long[], long, long, byte[], int, byte[], int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
A usually-internal encryption step.
- encrypt(long[], long, long, long[], int, long[], int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
A usually-internal encryption step.
- encryptCBC(long, long, long, long, long, long, byte[], int, byte[], int, int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
One of the main ways here to encrypt a "plaintext" byte array and get back a coded "ciphertext" byte array.
- encryptCBC(long, long, long, long, long, long, long[], int, long[], int, int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
One of the main ways here to encrypt a "plaintext" long array and get back a coded "ciphertext" long array.
- encryptCTR(long, long, long, long, long, byte[], int, byte[], int, int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
One of the main ways here to encrypt a "plaintext" byte array and get back a coded "ciphertext" byte array.
- encryptCTR(long, long, long, long, long, int, byte[], int, byte[], int, int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
One of the main ways here to encrypt a "plaintext" byte array and get back a coded "ciphertext" byte array.
- encryptCTR(long, long, long, long, long, long[], int, long[], int, int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
One of the main ways here to encrypt a "plaintext" long array and get back a coded "ciphertext" long array.
- encryptInPlaceCTR(long, long, long, long, long, byte[], int, int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
Encrypts a "plaintext" byte array in-place, making it a coded "ciphertext" byte array.
- encryptInPlaceCTR(long, long, long, long, long, ByteBuffer, int, int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
Encrypts a "plaintext" ByteBuffer in-place, making it a coded "ciphertext" ByteBuffer.
- encryptWithXor(long[], long, long, byte[], int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
A usually-internal encryption step.
- encryptWithXor(long[], long, long, ByteBuffer, int) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
A usually-internal encryption step.
- EnhancedRandom - Class in com.github.tommyettinger.random
-
A superset of the functionality in
Random
, meant for random number generators that would be too bare-bones with just Random's methods. - EnhancedRandom() - Constructor for class com.github.tommyettinger.random.EnhancedRandom
- EnhancedRandom(long) - Constructor for class com.github.tommyettinger.random.EnhancedRandom
- equals(Object) - Method in class com.github.tommyettinger.random.AceRandom
- equals(Object) - Method in class com.github.tommyettinger.random.ArchivalWrapper
- equals(Object) - Method in class com.github.tommyettinger.random.Bear32Random
- equals(Object) - Method in class com.github.tommyettinger.random.Chill32Random
- equals(Object) - Method in class com.github.tommyettinger.random.Choo32Random
- equals(Object) - Method in class com.github.tommyettinger.random.ChopRandom
- equals(Object) - Method in class com.github.tommyettinger.random.Crand64Random
- equals(Object) - Method in class com.github.tommyettinger.random.DistinctRandom
- equals(Object) - Method in class com.github.tommyettinger.random.distribution.Distribution
- equals(Object) - Method in class com.github.tommyettinger.random.FlowRandom
- equals(Object) - Method in class com.github.tommyettinger.random.FourWheelRandom
- equals(Object) - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
- equals(Object) - Method in class com.github.tommyettinger.random.Jsf32Random
- equals(Object) - Method in class com.github.tommyettinger.random.KnownSequenceRandom
- equals(Object) - Method in class com.github.tommyettinger.random.LaserRandom
- equals(Object) - Method in class com.github.tommyettinger.random.LongSequence
- equals(Object) - Method in class com.github.tommyettinger.random.LowChangeQuasiRandom
- equals(Object) - Method in class com.github.tommyettinger.random.MizuchiRandom
- equals(Object) - Method in class com.github.tommyettinger.random.PasarRandom
- equals(Object) - Method in class com.github.tommyettinger.random.PcgRXSMXSRandom
- equals(Object) - Method in class com.github.tommyettinger.random.PouchRandom
- equals(Object) - Method in class com.github.tommyettinger.random.Respite32Random
- equals(Object) - Method in class com.github.tommyettinger.random.ReverseWrapper
- equals(Object) - Method in class com.github.tommyettinger.random.RomuTrioRandom
- equals(Object) - Method in class com.github.tommyettinger.random.ScruffRandom
- equals(Object) - Method in class com.github.tommyettinger.random.Sfc64Random
- equals(Object) - Method in class com.github.tommyettinger.random.StrangerRandom
- equals(Object) - Method in class com.github.tommyettinger.random.Taxon32Random
- equals(Object) - Method in class com.github.tommyettinger.random.TricycleRandom
- equals(Object) - Method in class com.github.tommyettinger.random.TrimRandom
- equals(Object) - Method in class com.github.tommyettinger.random.TupleQuasiRandom
- equals(Object) - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
- equals(Object) - Method in class com.github.tommyettinger.random.WhiskerRandom
- equals(Object) - Method in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
- equals(Object) - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- equals(Object) - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
- equals(Object) - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
- ErlangDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with range from 0 (inclusive) to positive infinity.
- ErlangDistribution() - Constructor for class com.github.tommyettinger.random.distribution.ErlangDistribution
-
Uses an
AceRandom
, alpha = 1, lambda = 1.0 . - ErlangDistribution(int, double) - Constructor for class com.github.tommyettinger.random.distribution.ErlangDistribution
-
Uses an
AceRandom
and the given alpha and lambda. - ErlangDistribution(EnhancedRandom, int, double) - Constructor for class com.github.tommyettinger.random.distribution.ErlangDistribution
-
Uses the given EnhancedRandom directly.
- expandKey(long, long, long, long) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
Given a 256-bit key as four long values, this grows that initial key into a 2176-bit expanded key (a
long[34]
). - ExponentialDistribution - Class in com.github.tommyettinger.random.distribution
-
A one-parameter distribution with range from 0 exclusive to positive infinity.
- ExponentialDistribution() - Constructor for class com.github.tommyettinger.random.distribution.ExponentialDistribution
-
Uses an
AceRandom
, lambda = 1.0 . - ExponentialDistribution(double) - Constructor for class com.github.tommyettinger.random.distribution.ExponentialDistribution
-
Uses an
AceRandom
and the given lambda. - ExponentialDistribution(EnhancedRandom, double) - Constructor for class com.github.tommyettinger.random.distribution.ExponentialDistribution
-
Uses the given EnhancedRandom directly.
F
- FisherSnedecorDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with range from 0 exclusive to positive infinity.
- FisherSnedecorDistribution() - Constructor for class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
-
Uses an
AceRandom
, alpha = 1.0, beta = 1.0 . - FisherSnedecorDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
-
Uses an
AceRandom
and the given alpha and beta. - FisherSnedecorDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
-
Uses the given EnhancedRandom directly.
- FisherTippettDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with infinite range.
- FisherTippettDistribution() - Constructor for class com.github.tommyettinger.random.distribution.FisherTippettDistribution
-
Uses an
AceRandom
, alpha = 1.0, mu = 0.0 . - FisherTippettDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.FisherTippettDistribution
-
Uses an
AceRandom
and the given alpha and mu. - FisherTippettDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.FisherTippettDistribution
-
Uses the given EnhancedRandom directly.
- fixGamma(long) - Static method in class com.github.tommyettinger.random.EnhancedRandom
-
Attempts to improve the quality of a "gamma" increment for an additive sequence.
- FlowRandom - Class in com.github.tommyettinger.random
-
A hash-on-counters RNG with a period of 2 to the 64 and 2 to the 64 streams.
- FlowRandom() - Constructor for class com.github.tommyettinger.random.FlowRandom
-
Creates a new FlowRandom with a random state.
- FlowRandom(long) - Constructor for class com.github.tommyettinger.random.FlowRandom
-
Creates a new FlowRandom with the given seed; all
long
values are permitted. - FlowRandom(long, long) - Constructor for class com.github.tommyettinger.random.FlowRandom
-
Creates a new FlowRandom with the given two states; all
long
values are permitted for stateA and for stateB. - FourWheelRandom - Class in com.github.tommyettinger.random
-
A random number generator that is extremely fast on Java 16, and has a very large probable period.
- FourWheelRandom() - Constructor for class com.github.tommyettinger.random.FourWheelRandom
-
Creates a new FourWheelRandom with a random state.
- FourWheelRandom(long) - Constructor for class com.github.tommyettinger.random.FourWheelRandom
-
Creates a new FourWheelRandom with the given seed; all
long
values are permitted. - FourWheelRandom(long, long, long, long) - Constructor for class com.github.tommyettinger.random.FourWheelRandom
-
Creates a new FourWheelRandom with the given four states; all
long
values are permitted. - FRACTION - Enum constant in enum class com.github.tommyettinger.random.DistributedRandom.ReductionMode
-
Gets one distributed double, gets the portion after the decimal point, and only uses that.
G
- GammaDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with range from 0 exclusive to positive infinity.
- GammaDistribution() - Constructor for class com.github.tommyettinger.random.distribution.GammaDistribution
-
Uses an
AceRandom
, alpha = 1.0, beta = 1.0 . - GammaDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.GammaDistribution
-
Uses an
AceRandom
and the given alpha and beta. - GammaDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.GammaDistribution
-
Uses the given EnhancedRandom directly.
- generateLookupTable(int, int, int, int) - Static method in class com.github.tommyettinger.random.LineWobble
-
Creates a wrapping lookup table of
size
float items for a wobbling line, using a specific count of points where the wobble can reach a peak or valley, a number of octaves to refine the wobble, and a seed. - generateSplineLookupTable(int, int, int, int, float, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
Creates a wrapping lookup table of
size
float items for a wobbling line, using a specific count of points where the wobble can reach a peak or valley, a number of octaves to refine the wobble, and a seed. - generator - Variable in class com.github.tommyettinger.random.distribution.Distribution
-
An EnhancedRandom generator from this library to use.
- GeometricDistribution - Class in com.github.tommyettinger.random.distribution
-
A one-parameter discrete distribution with integer range from 1 inclusive to positive infinity.
- GeometricDistribution() - Constructor for class com.github.tommyettinger.random.distribution.GeometricDistribution
-
Uses an
AceRandom
, alpha = 0.5 . - GeometricDistribution(double) - Constructor for class com.github.tommyettinger.random.distribution.GeometricDistribution
-
Uses an
AceRandom
and the given alpha. - GeometricDistribution(EnhancedRandom, double) - Constructor for class com.github.tommyettinger.random.distribution.GeometricDistribution
-
Uses the given EnhancedRandom directly.
- get(int) - Method in class com.github.tommyettinger.random.LongSequence
- get(String) - Static method in class com.github.tommyettinger.random.Deserializer
-
Gets a copy of the EnhancedRandom registered with the given tag, or null if this has nothing registered for the given tag.
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.ArcsineDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.BernoulliDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.BetaDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.BinomialDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.CauchyDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.ChiDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.ChiSquareDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.ErlangDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.FisherTippettDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.GammaDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.GeometricDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.LaplaceDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.LumpDistribution
-
Affects whether returned values will be lower (for lower alpha) or higher (for higher alpha).
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.ParetoDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.PowerDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.TriangularDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.WeibullDistribution
- getAlpha() - Method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
- getArchive() - Method in class com.github.tommyettinger.random.ArchivalWrapper
- getBeta() - Method in class com.github.tommyettinger.random.distribution.ArcsineDistribution
- getBeta() - Method in class com.github.tommyettinger.random.distribution.BetaDistribution
- getBeta() - Method in class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
- getBeta() - Method in class com.github.tommyettinger.random.distribution.BinomialDistribution
- getBeta() - Method in class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
- getBeta() - Method in class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
- getBeta() - Method in class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
- getBeta() - Method in class com.github.tommyettinger.random.distribution.GammaDistribution
- getBeta() - Method in class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
- getBeta() - Method in class com.github.tommyettinger.random.distribution.LumpDistribution
-
Affects extremity vs.
- getBeta() - Method in class com.github.tommyettinger.random.distribution.ParetoDistribution
- getBeta() - Method in class com.github.tommyettinger.random.distribution.PowerDistribution
- getBeta() - Method in class com.github.tommyettinger.random.distribution.TriangularDistribution
- getDistribution() - Method in class com.github.tommyettinger.random.DistributedRandom
- getDistribution(String) - Static method in class com.github.tommyettinger.random.Deserializer
-
Gets a copy of the Distribution registered with the given tag, or null if this has nothing registered for the given tag.
- getGamma() - Method in class com.github.tommyettinger.random.distribution.CauchyDistribution
- getGamma() - Method in class com.github.tommyettinger.random.distribution.TriangularDistribution
- getInterpolator() - Method in class com.github.tommyettinger.random.InterpolatedRandom
- getIota() - Method in class com.github.tommyettinger.random.distribution.KnobDistribution
- getKnown() - Method in class com.github.tommyettinger.random.KnownSequenceRandom
-
Returns the current known sequence this draws its results from.
- getLambda() - Method in class com.github.tommyettinger.random.distribution.ErlangDistribution
- getLambda() - Method in class com.github.tommyettinger.random.distribution.ExponentialDistribution
- getLambda() - Method in class com.github.tommyettinger.random.distribution.PoissonDistribution
- getLambda() - Method in class com.github.tommyettinger.random.distribution.WeibullDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.ArcsineDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.BernoulliDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.BetaDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.BinomialDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.CauchyDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.ChiDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.ChiSquareDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Gets the maximum possible value of distributed random numbers.
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.ErlangDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.ExponentialDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.FisherTippettDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.GammaDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.GeometricDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.KnobDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.LaplaceDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.LogCauchyDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.LogisticDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.LogNormalDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.LumpDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.NormalDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.ParetoDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.PoissonDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.PowerDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.RayleighDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.StudentsTDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.TriangularDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.WeibullDistribution
- getMaximum() - Method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.ArcsineDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.BernoulliDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.BetaDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.BinomialDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.CauchyDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.ChiDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.ChiSquareDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Gets the mean of distributed random numbers.
- getMean() - Method in class com.github.tommyettinger.random.distribution.ErlangDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.ExponentialDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.FisherTippettDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.GammaDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.GeometricDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.KnobDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.LaplaceDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.LogCauchyDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.LogisticDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.LogNormalDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.LumpDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.NormalDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.ParetoDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.PoissonDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.PowerDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.RayleighDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.StudentsTDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.TriangularDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.WeibullDistribution
- getMean() - Method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.ArcsineDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.BernoulliDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.BetaDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.BinomialDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.CauchyDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.ChiDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.ChiSquareDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Gets the median of distributed random numbers.
- getMedian() - Method in class com.github.tommyettinger.random.distribution.ErlangDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.ExponentialDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.FisherTippettDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.GammaDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.GeometricDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.KnobDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.LaplaceDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.LogCauchyDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.LogisticDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.LogNormalDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.LumpDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.NormalDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.ParetoDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.PoissonDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.PowerDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.RayleighDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.StudentsTDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.TriangularDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.WeibullDistribution
- getMedian() - Method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.ArcsineDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.BernoulliDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.BetaDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.BinomialDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.CauchyDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.ChiDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.ChiSquareDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Gets the minimum possible value of distributed random numbers.
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.ErlangDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.ExponentialDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.FisherTippettDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.GammaDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.GeometricDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.KnobDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.LaplaceDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.LogCauchyDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.LogisticDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.LogNormalDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.LumpDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.NormalDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.ParetoDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.PoissonDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.PowerDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.RayleighDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.StudentsTDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.TriangularDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.WeibullDistribution
- getMinimum() - Method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.ArcsineDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.BernoulliDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.BetaDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.BinomialDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.CauchyDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.ChiDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.ChiSquareDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Gets the mode(s) of distributed random numbers.
- getMode() - Method in class com.github.tommyettinger.random.distribution.ErlangDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.ExponentialDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.FisherTippettDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.GammaDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.GeometricDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.KnobDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.LaplaceDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.LogCauchyDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.LogisticDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.LogNormalDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.LumpDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.NormalDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.ParetoDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.PoissonDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.PowerDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.RayleighDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.StudentsTDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.TriangularDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.WeibullDistribution
- getMode() - Method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
- getMu() - Method in class com.github.tommyettinger.random.distribution.FisherTippettDistribution
- getMu() - Method in class com.github.tommyettinger.random.distribution.KnobDistribution
- getMu() - Method in class com.github.tommyettinger.random.distribution.LaplaceDistribution
- getMu() - Method in class com.github.tommyettinger.random.distribution.LogCauchyDistribution
- getMu() - Method in class com.github.tommyettinger.random.distribution.LogisticDistribution
- getMu() - Method in class com.github.tommyettinger.random.distribution.LogNormalDistribution
- getMu() - Method in class com.github.tommyettinger.random.distribution.NormalDistribution
- getNu() - Method in class com.github.tommyettinger.random.distribution.StudentsTDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.ArcsineDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.BernoulliDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.BetaDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.BinomialDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.CauchyDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.ChiDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.ChiSquareDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Gets the value of parameter "A" as a double.
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.ErlangDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.ExponentialDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.FisherTippettDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.GammaDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.GeometricDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.KnobDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.LaplaceDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.LogCauchyDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.LogisticDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.LogNormalDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.LumpDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.NormalDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.ParetoDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.PoissonDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.PowerDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.RayleighDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.StudentsTDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.TriangularDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.WeibullDistribution
- getParameterA() - Method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.ArcsineDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.BetaDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.BinomialDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.CauchyDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Gets the value of parameter "B" as a double.
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.ErlangDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.FisherTippettDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.GammaDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.KnobDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.LaplaceDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.LogCauchyDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.LogisticDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.LogNormalDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.LumpDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.NormalDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.ParetoDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.PowerDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.TriangularDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.WeibullDistribution
- getParameterB() - Method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
- getParameterC() - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Gets the value of parameter "C" as a double.
- getParameterC() - Method in class com.github.tommyettinger.random.distribution.KnobDistribution
- getParameterC() - Method in class com.github.tommyettinger.random.distribution.TriangularDistribution
- getRandom() - Method in class com.github.tommyettinger.random.DistributedRandom
- getRandom() - Method in class com.github.tommyettinger.random.InterpolatedRandom
- getReduction() - Method in class com.github.tommyettinger.random.DistributedRandom
- getRepeatableRandom() - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Creates a
KnownSequenceRandom
that will repeat from a copy of the currentArchivalWrapper.archive
. - getSelectedState(int) - Method in class com.github.tommyettinger.random.AceRandom
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Gets a selected state value from this EnhancedRandom.
- getSelectedState(int) - Method in class com.github.tommyettinger.random.Bear32Random
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.Chill32Random
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.Choo32Random
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.ChopRandom
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.Crand64Random
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.DistinctRandom
-
Gets the only state, which can be any long value.
- getSelectedState(int) - Method in class com.github.tommyettinger.random.DistributedRandom
- getSelectedState(int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Gets a selected state value from this EnhancedRandom.
- getSelectedState(int) - Method in class com.github.tommyettinger.random.FlowRandom
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.FourWheelRandom
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
-
Gets the only state, which can be any long value.
- getSelectedState(int) - Method in class com.github.tommyettinger.random.InterpolatedRandom
- getSelectedState(int) - Method in class com.github.tommyettinger.random.Jsf32Random
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.KnownSequenceRandom
-
Gets the current index/position in the known sequence.
- getSelectedState(int) - Method in class com.github.tommyettinger.random.LaserRandom
-
Gets a selected state value from this LaserRandom.
- getSelectedState(int) - Method in class com.github.tommyettinger.random.LowChangeQuasiRandom
- getSelectedState(int) - Method in class com.github.tommyettinger.random.MizuchiRandom
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.PasarRandom
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.PcgRXSMXSRandom
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.PouchRandom
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.Respite32Random
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Gets a selected state value from this EnhancedRandom.
- getSelectedState(int) - Method in class com.github.tommyettinger.random.RomuTrioRandom
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.ScruffRandom
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.Sfc64Random
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.StrangerRandom
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.Taxon32Random
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.TricycleRandom
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.TrimRandom
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.TupleQuasiRandom
-
This gets the main state's exact value, ignoring selection.
- getSelectedState(int) - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
-
Gets the only state, which can be any long value.
- getSelectedState(int) - Method in class com.github.tommyettinger.random.WhiskerRandom
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
-
Gets the state determined by
selection
, as-is. - getSelectedState(int) - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
-
Gets the state determined by
selection
, as-is. - getSigma() - Method in class com.github.tommyettinger.random.distribution.KnobDistribution
- getSigma() - Method in class com.github.tommyettinger.random.distribution.LogCauchyDistribution
- getSigma() - Method in class com.github.tommyettinger.random.distribution.LogisticDistribution
- getSigma() - Method in class com.github.tommyettinger.random.distribution.LogNormalDistribution
- getSigma() - Method in class com.github.tommyettinger.random.distribution.NormalDistribution
- getSigma() - Method in class com.github.tommyettinger.random.distribution.RayleighDistribution
- getSkew() - Method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
- getSnapshot() - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Creates a copy of the current LongSequence
ArchivalWrapper.archive
and returns it. - getState() - Method in class com.github.tommyettinger.random.DistinctRandom
-
Gets the current state; it's already public, but I guess this could still be useful.
- getState() - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
-
Gets the current state; it's already public, but I guess this could still be useful.
- getState() - Method in class com.github.tommyettinger.random.TupleQuasiRandom
-
Gets the current state; it's already public, but I guess this could still be useful.
- getState() - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
-
Gets the current state; it's already public, but I guess this could still be useful.
- getStateA() - Method in class com.github.tommyettinger.random.AceRandom
- getStateA() - Method in class com.github.tommyettinger.random.Bear32Random
- getStateA() - Method in class com.github.tommyettinger.random.Chill32Random
- getStateA() - Method in class com.github.tommyettinger.random.Choo32Random
- getStateA() - Method in class com.github.tommyettinger.random.ChopRandom
- getStateA() - Method in class com.github.tommyettinger.random.Crand64Random
- getStateA() - Method in class com.github.tommyettinger.random.FlowRandom
- getStateA() - Method in class com.github.tommyettinger.random.FourWheelRandom
- getStateA() - Method in class com.github.tommyettinger.random.Jsf32Random
- getStateA() - Method in class com.github.tommyettinger.random.LaserRandom
-
Get the "A" part of the internal state as a long.
- getStateA() - Method in class com.github.tommyettinger.random.MizuchiRandom
- getStateA() - Method in class com.github.tommyettinger.random.PasarRandom
- getStateA() - Method in class com.github.tommyettinger.random.PcgRXSMXSRandom
-
Gets the first part of the state.
- getStateA() - Method in class com.github.tommyettinger.random.PouchRandom
- getStateA() - Method in class com.github.tommyettinger.random.Respite32Random
- getStateA() - Method in class com.github.tommyettinger.random.RomuTrioRandom
- getStateA() - Method in class com.github.tommyettinger.random.ScruffRandom
- getStateA() - Method in class com.github.tommyettinger.random.Sfc64Random
- getStateA() - Method in class com.github.tommyettinger.random.StrangerRandom
- getStateA() - Method in class com.github.tommyettinger.random.Taxon32Random
- getStateA() - Method in class com.github.tommyettinger.random.TricycleRandom
- getStateA() - Method in class com.github.tommyettinger.random.TrimRandom
- getStateA() - Method in class com.github.tommyettinger.random.WhiskerRandom
- getStateA() - Method in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
- getStateA() - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- getStateA() - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
- getStateA() - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
- getStateB() - Method in class com.github.tommyettinger.random.AceRandom
- getStateB() - Method in class com.github.tommyettinger.random.Bear32Random
- getStateB() - Method in class com.github.tommyettinger.random.Chill32Random
- getStateB() - Method in class com.github.tommyettinger.random.Choo32Random
- getStateB() - Method in class com.github.tommyettinger.random.ChopRandom
- getStateB() - Method in class com.github.tommyettinger.random.Crand64Random
- getStateB() - Method in class com.github.tommyettinger.random.FlowRandom
- getStateB() - Method in class com.github.tommyettinger.random.FourWheelRandom
- getStateB() - Method in class com.github.tommyettinger.random.Jsf32Random
- getStateB() - Method in class com.github.tommyettinger.random.LaserRandom
-
Get the "B" part of the internal state as a long.
- getStateB() - Method in class com.github.tommyettinger.random.MizuchiRandom
- getStateB() - Method in class com.github.tommyettinger.random.PasarRandom
- getStateB() - Method in class com.github.tommyettinger.random.PcgRXSMXSRandom
-
Gets the second part of the state (the stream or increment).
- getStateB() - Method in class com.github.tommyettinger.random.PouchRandom
- getStateB() - Method in class com.github.tommyettinger.random.Respite32Random
- getStateB() - Method in class com.github.tommyettinger.random.RomuTrioRandom
- getStateB() - Method in class com.github.tommyettinger.random.ScruffRandom
- getStateB() - Method in class com.github.tommyettinger.random.Sfc64Random
- getStateB() - Method in class com.github.tommyettinger.random.StrangerRandom
- getStateB() - Method in class com.github.tommyettinger.random.Taxon32Random
- getStateB() - Method in class com.github.tommyettinger.random.TricycleRandom
- getStateB() - Method in class com.github.tommyettinger.random.TrimRandom
- getStateB() - Method in class com.github.tommyettinger.random.WhiskerRandom
- getStateB() - Method in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
- getStateB() - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- getStateB() - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
- getStateB() - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
- getStateC() - Method in class com.github.tommyettinger.random.AceRandom
- getStateC() - Method in class com.github.tommyettinger.random.Bear32Random
- getStateC() - Method in class com.github.tommyettinger.random.Chill32Random
- getStateC() - Method in class com.github.tommyettinger.random.Choo32Random
- getStateC() - Method in class com.github.tommyettinger.random.ChopRandom
- getStateC() - Method in class com.github.tommyettinger.random.Crand64Random
- getStateC() - Method in class com.github.tommyettinger.random.FourWheelRandom
- getStateC() - Method in class com.github.tommyettinger.random.Jsf32Random
- getStateC() - Method in class com.github.tommyettinger.random.PasarRandom
- getStateC() - Method in class com.github.tommyettinger.random.PouchRandom
- getStateC() - Method in class com.github.tommyettinger.random.Respite32Random
- getStateC() - Method in class com.github.tommyettinger.random.RomuTrioRandom
- getStateC() - Method in class com.github.tommyettinger.random.ScruffRandom
- getStateC() - Method in class com.github.tommyettinger.random.Sfc64Random
- getStateC() - Method in class com.github.tommyettinger.random.StrangerRandom
- getStateC() - Method in class com.github.tommyettinger.random.TricycleRandom
- getStateC() - Method in class com.github.tommyettinger.random.TrimRandom
- getStateC() - Method in class com.github.tommyettinger.random.WhiskerRandom
- getStateC() - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- getStateC() - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
- getStateC() - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
- getStateCount() - Method in class com.github.tommyettinger.random.AceRandom
-
This generator has 5
long
states, so this returns 5. - getStateCount() - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Gets the number of possible state variables that can be selected with
ArchivalWrapper.getSelectedState(int)
orArchivalWrapper.setSelectedState(int, long)
. - getStateCount() - Method in class com.github.tommyettinger.random.Bear32Random
-
This generator has 4
int
states, so this returns 4. - getStateCount() - Method in class com.github.tommyettinger.random.Chill32Random
-
This generator has 3
int
states, so this returns 3. - getStateCount() - Method in class com.github.tommyettinger.random.Choo32Random
-
This generator has 4
int
states, so this returns 4. - getStateCount() - Method in class com.github.tommyettinger.random.ChopRandom
-
This generator has 4
int
states, so this returns 4. - getStateCount() - Method in class com.github.tommyettinger.random.Crand64Random
-
This generator has 5
long
states, so this returns 5. - getStateCount() - Method in class com.github.tommyettinger.random.DistinctRandom
-
This has one long state.
- getStateCount() - Method in class com.github.tommyettinger.random.DistributedRandom
- getStateCount() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Gets the number of possible state variables that can be selected with
EnhancedRandom.getSelectedState(int)
orEnhancedRandom.setSelectedState(int, long)
. - getStateCount() - Method in class com.github.tommyettinger.random.FlowRandom
-
This generator has 2
long
states, so this returns 2. - getStateCount() - Method in class com.github.tommyettinger.random.FourWheelRandom
-
This generator has 4
long
states, so this returns 4. - getStateCount() - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
-
This has one long state.
- getStateCount() - Method in class com.github.tommyettinger.random.InterpolatedRandom
- getStateCount() - Method in class com.github.tommyettinger.random.Jsf32Random
-
This generator has 4
int
states, so this returns 4. - getStateCount() - Method in class com.github.tommyettinger.random.KnownSequenceRandom
-
Returns 1, referring to the one state this changes on its own (
KnownSequenceRandom.index
). - getStateCount() - Method in class com.github.tommyettinger.random.LaserRandom
-
LaserRandom has two possible states, both
long
. - getStateCount() - Method in class com.github.tommyettinger.random.LowChangeQuasiRandom
- getStateCount() - Method in class com.github.tommyettinger.random.MizuchiRandom
-
This generator has 2
long
states, so this returns 2. - getStateCount() - Method in class com.github.tommyettinger.random.PasarRandom
-
This generator has 5
long
states, so this returns 5. - getStateCount() - Method in class com.github.tommyettinger.random.PcgRXSMXSRandom
-
This generator has 2
long
states, so this returns 2. - getStateCount() - Method in class com.github.tommyettinger.random.PouchRandom
-
This generator has 4
long
states, so this returns 4. - getStateCount() - Method in class com.github.tommyettinger.random.Respite32Random
-
This generator has 3
int
states, so this returns 3. - getStateCount() - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Gets the number of possible state variables that can be selected with
ReverseWrapper.getSelectedState(int)
orReverseWrapper.setSelectedState(int, long)
. - getStateCount() - Method in class com.github.tommyettinger.random.RomuTrioRandom
-
This generator has 3
long
states, so this returns 3. - getStateCount() - Method in class com.github.tommyettinger.random.ScruffRandom
-
This generator has 4
long
states, so this returns 4. - getStateCount() - Method in class com.github.tommyettinger.random.Sfc64Random
-
This generator has 4
long
states, so this returns 4. - getStateCount() - Method in class com.github.tommyettinger.random.StrangerRandom
-
This generator has 4
long
states, so this returns 4. - getStateCount() - Method in class com.github.tommyettinger.random.Taxon32Random
-
This generator has 2
int
states, so this returns 2. - getStateCount() - Method in class com.github.tommyettinger.random.TricycleRandom
-
This generator has 3
long
states, so this returns 3. - getStateCount() - Method in class com.github.tommyettinger.random.TrimRandom
-
This generator has 4
long
states, so this returns 4. - getStateCount() - Method in class com.github.tommyettinger.random.TupleQuasiRandom
-
This has one long state.
- getStateCount() - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
-
This has one long state.
- getStateCount() - Method in class com.github.tommyettinger.random.WhiskerRandom
-
This generator has 4
long
states, so this returns 4. - getStateCount() - Method in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
-
This generator has 2
long
states, so this returns 2. - getStateCount() - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
-
This generator has 4
int
states, so this returns 4. - getStateCount() - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
-
This generator has 4
long
states, so this returns 4. - getStateCount() - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
-
This generator has 4
long
states, so this returns 4. - getStateD() - Method in class com.github.tommyettinger.random.AceRandom
- getStateD() - Method in class com.github.tommyettinger.random.Bear32Random
- getStateD() - Method in class com.github.tommyettinger.random.Choo32Random
- getStateD() - Method in class com.github.tommyettinger.random.ChopRandom
- getStateD() - Method in class com.github.tommyettinger.random.Crand64Random
- getStateD() - Method in class com.github.tommyettinger.random.FourWheelRandom
- getStateD() - Method in class com.github.tommyettinger.random.Jsf32Random
- getStateD() - Method in class com.github.tommyettinger.random.PasarRandom
- getStateD() - Method in class com.github.tommyettinger.random.PouchRandom
- getStateD() - Method in class com.github.tommyettinger.random.ScruffRandom
- getStateD() - Method in class com.github.tommyettinger.random.Sfc64Random
- getStateD() - Method in class com.github.tommyettinger.random.StrangerRandom
- getStateD() - Method in class com.github.tommyettinger.random.TrimRandom
- getStateD() - Method in class com.github.tommyettinger.random.WhiskerRandom
- getStateD() - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- getStateD() - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
- getStateD() - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
- getStateE() - Method in class com.github.tommyettinger.random.AceRandom
- getStateE() - Method in class com.github.tommyettinger.random.Crand64Random
- getStateE() - Method in class com.github.tommyettinger.random.PasarRandom
- getStream() - Method in class com.github.tommyettinger.random.FlowRandom
-
Gets a long that identifies which of the 2 to the 64 possible streams this is on.
- getStream() - Method in class com.github.tommyettinger.random.LaserRandom
-
Gets a long that identifies which stream of numbers this generator is producing; this stream identifier is always an odd long and won't change by generating numbers.
- getTag() - Method in class com.github.tommyettinger.random.AceRandom
- getTag() - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Gets the tag used to identify this type of EnhancedRandom, "ArcW".
- getTag() - Method in class com.github.tommyettinger.random.Bear32Random
- getTag() - Method in class com.github.tommyettinger.random.Chill32Random
- getTag() - Method in class com.github.tommyettinger.random.Choo32Random
- getTag() - Method in class com.github.tommyettinger.random.ChopRandom
- getTag() - Method in class com.github.tommyettinger.random.Crand64Random
- getTag() - Method in class com.github.tommyettinger.random.DistinctRandom
- getTag() - Method in class com.github.tommyettinger.random.DistributedRandom
- getTag() - Method in class com.github.tommyettinger.random.distribution.ArcsineDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.BernoulliDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.BetaDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.BinomialDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.CauchyDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.ChiDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.ChiSquareDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Gets the tag used to identify this type of Distribution, as a String.
- getTag() - Method in class com.github.tommyettinger.random.distribution.ErlangDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.ExponentialDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.FisherTippettDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.GammaDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.GeometricDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.KnobDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.LaplaceDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.LogCauchyDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.LogisticDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.LogNormalDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.LumpDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.NormalDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.ParetoDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.PoissonDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.PowerDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.RayleighDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.StudentsTDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.TriangularDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.WeibullDistribution
- getTag() - Method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
- getTag() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Gets the tag used to identify this type of EnhancedRandom, as a String.
- getTag() - Method in class com.github.tommyettinger.random.FlowRandom
- getTag() - Method in class com.github.tommyettinger.random.FourWheelRandom
- getTag() - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
- getTag() - Method in class com.github.tommyettinger.random.InterpolatedRandom
- getTag() - Method in class com.github.tommyettinger.random.Jsf32Random
- getTag() - Method in class com.github.tommyettinger.random.KnownSequenceRandom
-
Gets the tag used to identify this type of EnhancedRandom, which is "KnSR".
- getTag() - Method in class com.github.tommyettinger.random.LaserRandom
- getTag() - Method in class com.github.tommyettinger.random.LowChangeQuasiRandom
- getTag() - Method in class com.github.tommyettinger.random.MizuchiRandom
- getTag() - Method in class com.github.tommyettinger.random.PasarRandom
- getTag() - Method in class com.github.tommyettinger.random.PcgRXSMXSRandom
- getTag() - Method in class com.github.tommyettinger.random.PouchRandom
- getTag() - Method in class com.github.tommyettinger.random.Respite32Random
- getTag() - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Gets the tag used to identify this type of EnhancedRandom, as a String.
- getTag() - Method in class com.github.tommyettinger.random.RomuTrioRandom
- getTag() - Method in class com.github.tommyettinger.random.ScruffRandom
- getTag() - Method in class com.github.tommyettinger.random.Sfc64Random
- getTag() - Method in class com.github.tommyettinger.random.StrangerRandom
- getTag() - Method in class com.github.tommyettinger.random.Taxon32Random
- getTag() - Method in class com.github.tommyettinger.random.TricycleRandom
- getTag() - Method in class com.github.tommyettinger.random.TrimRandom
- getTag() - Method in class com.github.tommyettinger.random.TupleQuasiRandom
- getTag() - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
- getTag() - Method in class com.github.tommyettinger.random.WhiskerRandom
- getTag() - Method in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
- getTag() - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- getTag() - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
- getTag() - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
- getVariance() - Method in class com.github.tommyettinger.random.distribution.ArcsineDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.BernoulliDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.BetaDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.BinomialDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.CauchyDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.ChiDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.ChiSquareDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Gets the variance of distributed random numbers.
- getVariance() - Method in class com.github.tommyettinger.random.distribution.ErlangDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.ExponentialDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.FisherTippettDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.GammaDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.GeometricDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.KnobDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.LaplaceDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.LogCauchyDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.LogisticDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.LogNormalDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.LumpDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.NormalDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.ParetoDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.PoissonDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.PowerDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.RayleighDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.StudentsTDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.TriangularDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.WeibullDistribution
- getVariance() - Method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
- getWrapped() - Method in class com.github.tommyettinger.random.ReverseWrapper
- getZeta() - Method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
- GoldenQuasiRandom - Class in com.github.tommyettinger.random
-
Not actually a pseudo-random number generator, but a quasi-random number generator, this is an extremely simple way to produce random-seeming numbers with a high distance between one number and the next.
- GoldenQuasiRandom() - Constructor for class com.github.tommyettinger.random.GoldenQuasiRandom
-
Creates a new GoldenQuasiRandom with a random state.
- GoldenQuasiRandom(long) - Constructor for class com.github.tommyettinger.random.GoldenQuasiRandom
-
Creates a new GoldenQuasiRandom with the given state; all
long
values are permitted. - GwtIncompatible - Annotation Interface in com.github.tommyettinger.random
-
An annotation for the GWT compiler that makes a piece of code ignored on GWT only.
H
- harmonic(long, double) - Static method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
-
Gets the nth generalized harmonic number (with n equal to limit) with the given s (as skew).
- hashCode() - Method in class com.github.tommyettinger.random.ArchivalWrapper
- hashCode() - Method in class com.github.tommyettinger.random.KnownSequenceRandom
- hashCode() - Method in class com.github.tommyettinger.random.LongSequence
- hashCode() - Method in class com.github.tommyettinger.random.ReverseWrapper
- hobble(long, long, double) - Static method in class com.github.tommyettinger.random.LineWobble
-
A variant on
LineWobble.splobble(long, double)
that takes some kind of hash-generatedlong
s for thestartBits
andendBits
. - hobble(long, long, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
A variant on
LineWobble.splobble(long, float)
that takes some kind of hash-generatedlong
s for thestartBits
andendBits
.
I
- index - Variable in class com.github.tommyettinger.random.KnownSequenceRandom
-
The index into the sequence of values this draws results from.
- InterpolatedRandom - Class in com.github.tommyettinger.random
-
An EnhancedRandom that delegates to an
Interpolations.Interpolator
to distribute output in the same way the Interpolator does from the 0 to 1 range, but for any requested range. - InterpolatedRandom() - Constructor for class com.github.tommyettinger.random.InterpolatedRandom
- InterpolatedRandom(long) - Constructor for class com.github.tommyettinger.random.InterpolatedRandom
- InterpolatedRandom(long, long, long, long) - Constructor for class com.github.tommyettinger.random.InterpolatedRandom
- InterpolatedRandom(Interpolations.Interpolator) - Constructor for class com.github.tommyettinger.random.InterpolatedRandom
- InterpolatedRandom(Interpolations.Interpolator, long) - Constructor for class com.github.tommyettinger.random.InterpolatedRandom
- InterpolatedRandom(Interpolations.Interpolator, long, long, long, long) - Constructor for class com.github.tommyettinger.random.InterpolatedRandom
- InterpolatedRandom(Interpolations.Interpolator, EnhancedRandom) - Constructor for class com.github.tommyettinger.random.InterpolatedRandom
-
Creates a DistributedRandom that follows the given Interpolator (copied), limiting its results using the given ReductionMode, and uses a direct reference to the given EnhancedRandom.
- InterpolatedRandom(EnhancedRandom) - Constructor for class com.github.tommyettinger.random.InterpolatedRandom
-
Creates an InterpolatedRandom that uses a direct reference to the given EnhancedRandom.
- interpolator - Variable in class com.github.tommyettinger.random.InterpolatedRandom
- items - Variable in class com.github.tommyettinger.random.LongSequence
J
- Jsf32Random - Class in com.github.tommyettinger.random
-
A random number generator that is optimized for performance on 32-bit machines and with Google Web Toolkit, this is Bob Jenkins' Small Fast Generator, using its 32-bit version.
- Jsf32Random() - Constructor for class com.github.tommyettinger.random.Jsf32Random
-
Creates a new Jsf32Random with a random state.
- Jsf32Random(int, int, int, int) - Constructor for class com.github.tommyettinger.random.Jsf32Random
-
Creates a new Jsf32Random with the given four states.
- Jsf32Random(long) - Constructor for class com.github.tommyettinger.random.Jsf32Random
-
Creates a new Jsf32Random with the given seed; all
long
values are permitted. - jump(long) - Static method in class com.github.tommyettinger.random.StrangerRandom
-
Jumps
state
ahead by 0x9E3779B97F4A7C15 steps of the generator StrangerRandom uses for its stateA and stateB.
K
- KnobDistribution - Class in com.github.tommyettinger.random.distribution
-
A three-parameter distribution with infinite range, which allows interpolating between a
normal distribution
and auniform distribution
. - KnobDistribution() - Constructor for class com.github.tommyettinger.random.distribution.KnobDistribution
-
Uses an
AceRandom
, mu = 0.0, sigma = 1.0, iota = 0.5 . - KnobDistribution(double, double, double) - Constructor for class com.github.tommyettinger.random.distribution.KnobDistribution
-
Uses an
AceRandom
and the given mu sigma, and iota. - KnobDistribution(EnhancedRandom, double, double, double) - Constructor for class com.github.tommyettinger.random.distribution.KnobDistribution
-
Uses the given EnhancedRandom directly.
- known - Variable in class com.github.tommyettinger.random.KnownSequenceRandom
-
The sequence of long values this draws results from.
- KnownSequenceRandom - Class in com.github.tommyettinger.random
-
A non-random number generator that simply repeats the next of a sequence of
long
values every timeKnownSequenceRandom.nextLong()
is called. - KnownSequenceRandom() - Constructor for class com.github.tommyettinger.random.KnownSequenceRandom
- KnownSequenceRandom(LongSequence) - Constructor for class com.github.tommyettinger.random.KnownSequenceRandom
- KnownSequenceRandom(LongSequence, int) - Constructor for class com.github.tommyettinger.random.KnownSequenceRandom
- KumaraswamyDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with range between 0 and 1, both inclusive.
- KumaraswamyDistribution() - Constructor for class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
-
Uses an
AceRandom
, alpha = 2.0, beta = 2.0 . - KumaraswamyDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
-
Uses an
AceRandom
and the given alpha and beta. - KumaraswamyDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
-
Uses the given EnhancedRandom directly.
L
- LaplaceDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with infinite range.
- LaplaceDistribution() - Constructor for class com.github.tommyettinger.random.distribution.LaplaceDistribution
-
Uses an
AceRandom
, alpha = 1.0, mu = 0.0 . - LaplaceDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.LaplaceDistribution
-
Uses an
AceRandom
and the given alpha and mu. - LaplaceDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.LaplaceDistribution
-
Uses the given EnhancedRandom directly.
- LaserRandom - Class in com.github.tommyettinger.random
-
A faster and much-higher-quality substitute for
Random
. - LaserRandom() - Constructor for class com.github.tommyettinger.random.LaserRandom
-
Creates a new LaserRandom.
- LaserRandom(long) - Constructor for class com.github.tommyettinger.random.LaserRandom
-
Creates a new LaserRandom using a single
long
seed; the stream depends on whether the seed is even or odd. - LaserRandom(long, long) - Constructor for class com.github.tommyettinger.random.LaserRandom
-
Creates a new LaserRandom using
seedA
exactly to set stateA (as withLaserRandom.setStateA(long)
,, and usingseedB
to set stateB as withLaserRandom.setStateB(long)
(meaning seedB will be used exactly if odd, otherwise it will have 1 added to it and then used). - leap() - Method in class com.github.tommyettinger.random.AceRandom
-
Jumps extremely far in the generator's sequence, such that one call to leap() advances the state as many as
Math.pow(2, 48)
calls toAceRandom.nextLong()
. - leap() - Method in class com.github.tommyettinger.random.PasarRandom
-
Jumps extremely far in the generator's sequence, such that one call to leap() advances the state as many as
Math.pow(2, 48)
calls toPasarRandom.nextLong()
. - leap() - Method in class com.github.tommyettinger.random.PouchRandom
-
Jumps extremely far in the generator's sequence, such that one call to leap() advances the state as many as
Math.pow(2, 48)
calls toPouchRandom.nextLong()
. - leap() - Method in class com.github.tommyettinger.random.ScruffRandom
-
Jumps extremely far in the generator's sequence, such that one call to leap() advances the state as many as
Math.pow(2, 48)
calls toScruffRandom.nextLong()
. - leap() - Method in class com.github.tommyettinger.random.Sfc64Random
-
Jumps extremely far in the generator's sequence, such that one call to leap() advances the state as many as
Math.pow(2, 48)
calls toSfc64Random.nextLong()
. - leap() - Method in class com.github.tommyettinger.random.TrimRandom
-
Jumps extremely far in the generator's sequence, such that one call to leap() advances the state as many as
Math.pow(2, 48)
calls toTrimRandom.nextLong()
. - leap() - Method in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
-
Jumps extremely far in the generator's sequence, such that it requires
Math.pow(2, 32)
calls to leap() to complete a cycle through the generator's entire sequence. - leap() - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
-
Jumps extremely far in the generator's sequence, such that it requires
Math.pow(2, 64)
calls to leap() to complete a cycle through the generator's entire sequence. - leap() - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
-
Jumps extremely far in the generator's sequence, such that it requires
Math.pow(2, 64)
calls to leap() to complete a cycle through the generator's entire sequence. - leap() - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
-
Jumps extremely far in the generator's sequence, such that it requires
Math.pow(2, 64)
calls to leap() to complete a cycle through the generator's entire sequence. - LineWobble - Class in com.github.tommyettinger.random
-
Provides 1D noise methods that can be queried at any point on a line to get a continuous random value.
- LineWobble() - Constructor for class com.github.tommyettinger.random.LineWobble
- LogCauchyDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with range from 0 (exclusive) to positive infinity.
- LogCauchyDistribution() - Constructor for class com.github.tommyettinger.random.distribution.LogCauchyDistribution
-
Uses an
AceRandom
, alpha = 0.0, sigma = 1.0 . - LogCauchyDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.LogCauchyDistribution
-
Uses an
AceRandom
and the given mu and sigma. - LogCauchyDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.LogCauchyDistribution
-
Uses the given EnhancedRandom directly.
- LogisticDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with infinite range.
- LogisticDistribution() - Constructor for class com.github.tommyettinger.random.distribution.LogisticDistribution
-
Uses an
AceRandom
, mu = 1.0, sigma = 1.0 . - LogisticDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.LogisticDistribution
-
Uses an
AceRandom
and the given mu and sigma. - LogisticDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.LogisticDistribution
-
Uses the given EnhancedRandom directly.
- LogNormalDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with range from 0 (exclusive) to positive infinity.
- LogNormalDistribution() - Constructor for class com.github.tommyettinger.random.distribution.LogNormalDistribution
-
Uses an
AceRandom
, mu = 0.0, sigma = 1.0 . - LogNormalDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.LogNormalDistribution
-
Uses an
AceRandom
and the given mu and sigma. - LogNormalDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.LogNormalDistribution
-
Uses the given EnhancedRandom directly.
- LongSequence - Class in com.github.tommyettinger.random
-
A very basic append-only list of
long
items. - LongSequence() - Constructor for class com.github.tommyettinger.random.LongSequence
- LongSequence(int) - Constructor for class com.github.tommyettinger.random.LongSequence
- LongSequence(long[]) - Constructor for class com.github.tommyettinger.random.LongSequence
- LongSequence(LongSequence) - Constructor for class com.github.tommyettinger.random.LongSequence
- LowChangeQuasiRandom - Class in com.github.tommyettinger.random
-
A quasi-random number generator that only changes one bit in its
LowChangeQuasiRandom.state
per call toLowChangeQuasiRandom.nextLong()
, and returns that changed state directly. - LowChangeQuasiRandom() - Constructor for class com.github.tommyettinger.random.LowChangeQuasiRandom
- LowChangeQuasiRandom(long) - Constructor for class com.github.tommyettinger.random.LowChangeQuasiRandom
- LowChangeQuasiRandom(long, long) - Constructor for class com.github.tommyettinger.random.LowChangeQuasiRandom
- LumpDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with range between 0 inclusive and 1 exclusive.
- LumpDistribution() - Constructor for class com.github.tommyettinger.random.distribution.LumpDistribution
-
Uses an
AceRandom
, alpha = 0.0, beta = 0.25 . - LumpDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.LumpDistribution
-
Uses an
AceRandom
and the given alpha and beta. - LumpDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.LumpDistribution
-
Uses the given EnhancedRandom directly.
M
- maxDoubleOf(double, double, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns the maximum result of
trials
calls toEnhancedRandom.nextDouble(double, double)
using the giveninnerBound
andouterBound
. - maxFloatOf(float, float, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns the maximum result of
trials
calls toEnhancedRandom.nextFloat(float, float)
using the giveninnerBound
andouterBound
. - maxIntOf(int, int, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns the maximum result of
trials
calls toEnhancedRandom.nextSignedInt(int, int)
using the giveninnerBound
andouterBound
. - maxLongOf(long, long, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns the maximum result of
trials
calls toEnhancedRandom.nextSignedLong(long, long)
using the giveninnerBound
andouterBound
. - minDoubleOf(double, double, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns the minimum result of
trials
calls toEnhancedRandom.nextDouble(double, double)
using the giveninnerBound
andouterBound
. - minFloatOf(float, float, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns the minimum result of
trials
calls toEnhancedRandom.nextFloat(float, float)
using the giveninnerBound
andouterBound
. - minIntOf(int, int, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns the minimum result of
trials
calls toEnhancedRandom.nextSignedInt(int, int)
using the giveninnerBound
andouterBound
. - minLongOf(long, long, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns the minimum result of
trials
calls toEnhancedRandom.nextSignedLong(long, long)
using the giveninnerBound
andouterBound
. - MizuchiRandom - Class in com.github.tommyettinger.random
-
A relatively-simple RNG that's similar to
LaserRandom
with less correlation between similar initial states, but without the ability toEnhancedRandom.skip(long)
. - MizuchiRandom() - Constructor for class com.github.tommyettinger.random.MizuchiRandom
-
Creates a new MizuchiRandom with a random state.
- MizuchiRandom(long) - Constructor for class com.github.tommyettinger.random.MizuchiRandom
-
Creates a new MizuchiRandom with the given seed; all
long
values are permitted. - MizuchiRandom(long, long) - Constructor for class com.github.tommyettinger.random.MizuchiRandom
-
Creates a new MizuchiRandom with the given two states; all
long
values are permitted for stateA, and all odd-numberlong
values are permitted for stateB.
N
- newPaddedArray(byte[]) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
Copies
data
into a new byte array that will be at least as long as data, padded with zeroes so that it meets a length that is a multiple of 16, if necessary. - newPaddedArray(long[]) - Static method in class com.github.tommyettinger.random.cipher.SpeckCipher
-
Copies
data
into a new long array that will be at least as long as data, padded with zeroes so that it meets a length that is a multiple of 2, if necessary. - next(int) - Method in class com.github.tommyettinger.random.AceRandom
- next(int) - Method in class com.github.tommyettinger.random.Bear32Random
- next(int) - Method in class com.github.tommyettinger.random.Chill32Random
- next(int) - Method in class com.github.tommyettinger.random.Choo32Random
- next(int) - Method in class com.github.tommyettinger.random.ChopRandom
- next(int) - Method in class com.github.tommyettinger.random.Crand64Random
- next(int) - Method in class com.github.tommyettinger.random.DistinctRandom
- next(int) - Method in class com.github.tommyettinger.random.DistributedRandom
- next(int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Generates the next pseudorandom number with a specific maximum size in bits (not a max number).
- next(int) - Method in class com.github.tommyettinger.random.FlowRandom
- next(int) - Method in class com.github.tommyettinger.random.FourWheelRandom
- next(int) - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
- next(int) - Method in class com.github.tommyettinger.random.InterpolatedRandom
- next(int) - Method in class com.github.tommyettinger.random.Jsf32Random
- next(int) - Method in class com.github.tommyettinger.random.LaserRandom
-
Generates the next pseudorandom number with a specific maximum size in bits (not a max number).
- next(int) - Method in class com.github.tommyettinger.random.MizuchiRandom
- next(int) - Method in class com.github.tommyettinger.random.PasarRandom
- next(int) - Method in class com.github.tommyettinger.random.PcgRXSMXSRandom
- next(int) - Method in class com.github.tommyettinger.random.PouchRandom
- next(int) - Method in class com.github.tommyettinger.random.Respite32Random
- next(int) - Method in class com.github.tommyettinger.random.RomuTrioRandom
- next(int) - Method in class com.github.tommyettinger.random.ScruffRandom
- next(int) - Method in class com.github.tommyettinger.random.Sfc64Random
- next(int) - Method in class com.github.tommyettinger.random.StrangerRandom
- next(int) - Method in class com.github.tommyettinger.random.Taxon32Random
- next(int) - Method in class com.github.tommyettinger.random.TricycleRandom
- next(int) - Method in class com.github.tommyettinger.random.TrimRandom
- next(int) - Method in class com.github.tommyettinger.random.TupleQuasiRandom
- next(int) - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
- next(int) - Method in class com.github.tommyettinger.random.WhiskerRandom
- next(int) - Method in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
- next(int) - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- next(int) - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
- next(int) - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
- nextBoolean() - Method in class com.github.tommyettinger.random.Bear32Random
- nextBoolean() - Method in class com.github.tommyettinger.random.Chill32Random
- nextBoolean() - Method in class com.github.tommyettinger.random.Choo32Random
- nextBoolean() - Method in class com.github.tommyettinger.random.ChopRandom
- nextBoolean() - Method in class com.github.tommyettinger.random.DistributedRandom
- nextBoolean() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns the next pseudorandom, uniformly distributed
boolean
value from this random number generator's sequence. - nextBoolean() - Method in class com.github.tommyettinger.random.InterpolatedRandom
- nextBoolean() - Method in class com.github.tommyettinger.random.Jsf32Random
- nextBoolean() - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns the next pseudorandom, uniformly distributed
boolean
value from this random number generator's sequence. - nextBoolean() - Method in class com.github.tommyettinger.random.Respite32Random
- nextBoolean() - Method in class com.github.tommyettinger.random.Taxon32Random
- nextBoolean() - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- nextBoolean(float) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns true if a random value between 0 and 1 is less than the specified value.
- nextBoolean(float) - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns true if a random value between 0 and 1 is less than the specified value.
- nextBytes(byte[]) - Method in class com.github.tommyettinger.random.Bear32Random
- nextBytes(byte[]) - Method in class com.github.tommyettinger.random.Chill32Random
- nextBytes(byte[]) - Method in class com.github.tommyettinger.random.Choo32Random
- nextBytes(byte[]) - Method in class com.github.tommyettinger.random.ChopRandom
- nextBytes(byte[]) - Method in class com.github.tommyettinger.random.DistributedRandom
- nextBytes(byte[]) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Generates random bytes and places them into a user-supplied byte array.
- nextBytes(byte[]) - Method in class com.github.tommyettinger.random.InterpolatedRandom
- nextBytes(byte[]) - Method in class com.github.tommyettinger.random.Jsf32Random
- nextBytes(byte[]) - Method in class com.github.tommyettinger.random.LaserRandom
-
Generates random bytes and places them into a user-supplied byte array.
- nextBytes(byte[]) - Method in class com.github.tommyettinger.random.Respite32Random
- nextBytes(byte[]) - Method in class com.github.tommyettinger.random.Taxon32Random
- nextBytes(byte[]) - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- nextDouble() - Method in class com.github.tommyettinger.random.DistributedRandom
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.ArcsineDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.BernoulliDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.BetaDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.BinomialDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.CauchyDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.ChiDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.ChiSquareDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Generates a double using this distribution.
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.ErlangDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.ExponentialDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.FisherTippettDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.GammaDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.GeometricDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.KnobDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.LaplaceDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.LogCauchyDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.LogisticDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.LogNormalDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.LumpDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.NormalDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.ParetoDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.PoissonDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.PowerDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.RayleighDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.StudentsTDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.TriangularDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.WeibullDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
- nextDouble() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns the next pseudorandom, uniformly distributed
double
value between0.0
(inclusive) and1.0
(exclusive) from this random number generator's sequence. - nextDouble() - Method in class com.github.tommyettinger.random.InterpolatedRandom
- nextDouble() - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns the next pseudorandom, uniformly distributed
double
value between0.0
(inclusive) and1.0
(exclusive) from this random number generator's sequence. - nextDouble(double) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Gets a pseudo-random double between 0 (inclusive) and
outerBound
(exclusive). - nextDouble(double) - Method in class com.github.tommyettinger.random.LaserRandom
-
Gets a pseudo-random double between 0 (inclusive) and
outerBound
(exclusive). - nextDouble(double, double) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Gets a pseudo-random double between
innerBound
(inclusive) andouterBound
(exclusive). - nextDouble(double, double) - Method in class com.github.tommyettinger.random.LaserRandom
-
Gets a pseudo-random double between
innerBound
(inclusive) andouterBound
(exclusive). - nextExclusiveDouble() - Method in class com.github.tommyettinger.random.DistributedRandom
-
This does not use the optimizations from
EnhancedRandom.nextExclusiveDouble()
, because those aren't reasonable when distributed. - nextExclusiveDouble() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Gets a random double between 0.0 and 1.0, exclusive at both ends; this method is also more uniform than
EnhancedRandom.nextDouble()
if you use the bit-patterns of the returned doubles. - nextExclusiveDouble() - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
- nextExclusiveDouble() - Method in class com.github.tommyettinger.random.InterpolatedRandom
- nextExclusiveDouble() - Method in class com.github.tommyettinger.random.TupleQuasiRandom
- nextExclusiveDouble() - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
- nextExclusiveDouble(double) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Just like
EnhancedRandom.nextDouble(double)
, but this is exclusive on both 0.0 andouterBound
. - nextExclusiveDouble(double, double) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Just like
EnhancedRandom.nextDouble(double, double)
, but this is exclusive on bothinnerBound
andouterBound
. - nextExclusiveDoubleEquidistant() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Gets a random double between 0.0 and 1.0, exclusive at both ends.
- nextExclusiveFloat() - Method in class com.github.tommyettinger.random.DistributedRandom
-
This acts the same as
EnhancedRandom.nextExclusiveFloatEquidistant()
; it does not use the optimizations fromEnhancedRandom.nextExclusiveFloat()
, because those aren't reasonable when distributed. - nextExclusiveFloat() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Gets a random float between 0.0 and 1.0, exclusive at both ends.
- nextExclusiveFloat() - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
- nextExclusiveFloat() - Method in class com.github.tommyettinger.random.InterpolatedRandom
- nextExclusiveFloat() - Method in class com.github.tommyettinger.random.TupleQuasiRandom
- nextExclusiveFloat() - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
- nextExclusiveFloat(float) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Just like
EnhancedRandom.nextFloat(float)
, but this is exclusive on both 0.0 andouterBound
. - nextExclusiveFloat(float, float) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Just like
EnhancedRandom.nextFloat(float, float)
, but this is exclusive on bothinnerBound
andouterBound
. - nextExclusiveFloatEquidistant() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Gets a random float between 0.0 and 1.0, exclusive at both ends.
- nextExclusiveSignedDouble() - Method in class com.github.tommyettinger.random.DistributedRandom
-
This differs from the implementation used by other EnhancedRandom types in that the distribution applies to the
(0,1)
range as normal, but half the time this will negate that distribution, so it is on(-1,0)
and the high and low ends are reversed. - nextExclusiveSignedDouble() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Gets a random double that may be positive or negative, but cannot be 0, and always has a magnitude less than 1.
- nextExclusiveSignedDouble() - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
- nextExclusiveSignedDouble() - Method in class com.github.tommyettinger.random.InterpolatedRandom
- nextExclusiveSignedDouble() - Method in class com.github.tommyettinger.random.TupleQuasiRandom
- nextExclusiveSignedDouble() - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
- nextExclusiveSignedFloat() - Method in class com.github.tommyettinger.random.DistributedRandom
-
This differs from the implementation used by other EnhancedRandom types in that the distribution applies to the
(0,1)
range as normal, but half the time this will negate that distribution, so it is on(-1,0)
and the high and low ends are reversed. - nextExclusiveSignedFloat() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Gets a random float that may be positive or negative, but cannot be 0, and always has a magnitude less than 1.
- nextExclusiveSignedFloat() - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
- nextExclusiveSignedFloat() - Method in class com.github.tommyettinger.random.InterpolatedRandom
- nextExclusiveSignedFloat() - Method in class com.github.tommyettinger.random.TupleQuasiRandom
- nextExclusiveSignedFloat() - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
- nextFloat() - Method in class com.github.tommyettinger.random.Bear32Random
- nextFloat() - Method in class com.github.tommyettinger.random.Chill32Random
- nextFloat() - Method in class com.github.tommyettinger.random.Choo32Random
- nextFloat() - Method in class com.github.tommyettinger.random.ChopRandom
- nextFloat() - Method in class com.github.tommyettinger.random.DistributedRandom
- nextFloat() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns the next pseudorandom, uniformly distributed
float
value between0.0
(inclusive) and1.0
(exclusive) from this random number generator's sequence. - nextFloat() - Method in class com.github.tommyettinger.random.InterpolatedRandom
- nextFloat() - Method in class com.github.tommyettinger.random.Jsf32Random
- nextFloat() - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns the next pseudorandom, uniformly distributed
float
value between0.0
(inclusive) and1.0
(exclusive) from this random number generator's sequence. - nextFloat() - Method in class com.github.tommyettinger.random.Respite32Random
- nextFloat() - Method in class com.github.tommyettinger.random.Taxon32Random
- nextFloat() - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- nextFloat(float) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Gets a pseudo-random float between 0 (inclusive) and
outerBound
(exclusive). - nextFloat(float) - Method in class com.github.tommyettinger.random.LaserRandom
-
Gets a pseudo-random float between 0 (inclusive) and
outerBound
(exclusive). - nextFloat(float, float) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Gets a pseudo-random float between
innerBound
(inclusive) andouterBound
(exclusive). - nextFloat(float, float) - Method in class com.github.tommyettinger.random.LaserRandom
-
Gets a pseudo-random float between
innerBound
(inclusive) andouterBound
(exclusive). - nextGaussian() - Method in class com.github.tommyettinger.random.DistributedRandom
-
This runs
Distributor.probit(double)
on a distributed double this produces. - nextGaussian() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns the next pseudorandom, Gaussian ("normally") distributed
double
value with mean0.0
and standard deviation1.0
from this random number generator's sequence. - nextGaussian() - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
- nextGaussian() - Method in class com.github.tommyettinger.random.InterpolatedRandom
-
This runs
Distributor.probit(double)
on a distributed double this produces. - nextGaussian() - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns the next pseudorandom, Gaussian ("normally") distributed
double
value with mean0.0
and standard deviation1.0
from this random number generator's sequence. - nextGaussian() - Method in class com.github.tommyettinger.random.TupleQuasiRandom
- nextGaussian() - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
- nextGaussian(double, double) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns the next pseudorandom, Gaussian ("normally") distributed
double
value with the specified mean and standard deviation from this random number generator's sequence. - nextInclusiveDouble() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
This is just like
EnhancedRandom.nextDouble()
, returning a double between 0 and 1, except that it is inclusive on both 0.0 and 1.0. - nextInclusiveDouble() - Method in class com.github.tommyettinger.random.LaserRandom
-
This is just like
LaserRandom.nextDouble()
, returning a double between 0 and 1, except that it is inclusive on both 0.0 and 1.0. - nextInclusiveDouble(double) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Just like
EnhancedRandom.nextDouble(double)
, but this is inclusive on both 0.0 andouterBound
. - nextInclusiveDouble(double) - Method in class com.github.tommyettinger.random.LaserRandom
-
Just like
LaserRandom.nextDouble(double)
, but this is inclusive on both 0.0 andouterBound
. - nextInclusiveDouble(double, double) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Just like
EnhancedRandom.nextDouble(double, double)
, but this is inclusive on bothinnerBound
andouterBound
. - nextInclusiveDouble(double, double) - Method in class com.github.tommyettinger.random.LaserRandom
-
Just like
LaserRandom.nextDouble(double, double)
, but this is inclusive on bothinnerBound
andouterBound
. - nextInclusiveFloat() - Method in class com.github.tommyettinger.random.Bear32Random
- nextInclusiveFloat() - Method in class com.github.tommyettinger.random.Choo32Random
- nextInclusiveFloat() - Method in class com.github.tommyettinger.random.ChopRandom
- nextInclusiveFloat() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
This is just like
EnhancedRandom.nextFloat()
, returning a float between 0 and 1, except that it is inclusive on both 0.0 and 1.0. - nextInclusiveFloat() - Method in class com.github.tommyettinger.random.Jsf32Random
- nextInclusiveFloat() - Method in class com.github.tommyettinger.random.LaserRandom
-
This is just like
LaserRandom.nextFloat()
, returning a float between 0 and 1, except that it is inclusive on both 0.0 and 1.0. - nextInclusiveFloat() - Method in class com.github.tommyettinger.random.Respite32Random
- nextInclusiveFloat() - Method in class com.github.tommyettinger.random.Taxon32Random
- nextInclusiveFloat() - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- nextInclusiveFloat(float) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Just like
EnhancedRandom.nextFloat(float)
, but this is inclusive on both 0.0 andouterBound
. - nextInclusiveFloat(float) - Method in class com.github.tommyettinger.random.LaserRandom
-
Just like
LaserRandom.nextFloat(float)
, but this is inclusive on both 0.0 andouterBound
. - nextInclusiveFloat(float, float) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Just like
EnhancedRandom.nextFloat(float, float)
, but this is inclusive on bothinnerBound
andouterBound
. - nextInclusiveFloat(float, float) - Method in class com.github.tommyettinger.random.LaserRandom
-
Just like
LaserRandom.nextFloat(float, float)
, but this is inclusive on bothinnerBound
andouterBound
. - nextInt() - Method in class com.github.tommyettinger.random.Bear32Random
- nextInt() - Method in class com.github.tommyettinger.random.Chill32Random
- nextInt() - Method in class com.github.tommyettinger.random.Choo32Random
- nextInt() - Method in class com.github.tommyettinger.random.ChopRandom
- nextInt() - Method in class com.github.tommyettinger.random.DistributedRandom
- nextInt() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns the next pseudorandom, uniformly distributed
int
value from this random number generator's sequence. - nextInt() - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
- nextInt() - Method in class com.github.tommyettinger.random.InterpolatedRandom
- nextInt() - Method in class com.github.tommyettinger.random.Jsf32Random
- nextInt() - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns the next pseudorandom, uniformly distributed
int
value from this random number generator's sequence. - nextInt() - Method in class com.github.tommyettinger.random.Respite32Random
- nextInt() - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Returns the previous pseudorandom, uniformly distributed
int
value from the wrapped random number generator's sequence. - nextInt() - Method in class com.github.tommyettinger.random.Taxon32Random
- nextInt() - Method in class com.github.tommyettinger.random.TupleQuasiRandom
- nextInt() - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
- nextInt() - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- nextInt(int) - Method in class com.github.tommyettinger.random.Bear32Random
- nextInt(int) - Method in class com.github.tommyettinger.random.Chill32Random
- nextInt(int) - Method in class com.github.tommyettinger.random.Choo32Random
- nextInt(int) - Method in class com.github.tommyettinger.random.ChopRandom
- nextInt(int) - Method in class com.github.tommyettinger.random.DistributedRandom
- nextInt(int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns a pseudorandom, uniformly distributed
int
value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence. - nextInt(int) - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
- nextInt(int) - Method in class com.github.tommyettinger.random.InterpolatedRandom
- nextInt(int) - Method in class com.github.tommyettinger.random.Jsf32Random
- nextInt(int) - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns a pseudorandom, uniformly distributed
int
value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence. - nextInt(int) - Method in class com.github.tommyettinger.random.Respite32Random
- nextInt(int) - Method in class com.github.tommyettinger.random.Taxon32Random
- nextInt(int) - Method in class com.github.tommyettinger.random.TupleQuasiRandom
- nextInt(int) - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
- nextInt(int) - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- nextInt(int, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns a pseudorandom, uniformly distributed
int
value between the specifiedinnerBound
(inclusive) and the specifiedouterBound
(exclusive). - nextInt(int, int) - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns a pseudorandom, uniformly distributed
int
value between the specifiedinnerBound
(inclusive) and the specifiedouterBound
(exclusive). - nextLong() - Method in class com.github.tommyettinger.random.AceRandom
- nextLong() - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Returns the next pseudorandom, uniformly distributed
long
value from this random number generator's sequence. - nextLong() - Method in class com.github.tommyettinger.random.Bear32Random
- nextLong() - Method in class com.github.tommyettinger.random.Chill32Random
- nextLong() - Method in class com.github.tommyettinger.random.Choo32Random
- nextLong() - Method in class com.github.tommyettinger.random.ChopRandom
- nextLong() - Method in class com.github.tommyettinger.random.Crand64Random
- nextLong() - Method in class com.github.tommyettinger.random.DistinctRandom
- nextLong() - Method in class com.github.tommyettinger.random.DistributedRandom
- nextLong() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns the next pseudorandom, uniformly distributed
long
value from this random number generator's sequence. - nextLong() - Method in class com.github.tommyettinger.random.FlowRandom
- nextLong() - Method in class com.github.tommyettinger.random.FourWheelRandom
- nextLong() - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
- nextLong() - Method in class com.github.tommyettinger.random.InterpolatedRandom
- nextLong() - Method in class com.github.tommyettinger.random.Jsf32Random
- nextLong() - Method in class com.github.tommyettinger.random.KnownSequenceRandom
-
Returns the next
long
value from this generator's sequence. - nextLong() - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns the next pseudorandom, uniformly distributed
long
value from this random number generator's sequence. - nextLong() - Method in class com.github.tommyettinger.random.LowChangeQuasiRandom
- nextLong() - Method in class com.github.tommyettinger.random.MizuchiRandom
- nextLong() - Method in class com.github.tommyettinger.random.PasarRandom
- nextLong() - Method in class com.github.tommyettinger.random.PcgRXSMXSRandom
- nextLong() - Method in class com.github.tommyettinger.random.PouchRandom
- nextLong() - Method in class com.github.tommyettinger.random.Respite32Random
- nextLong() - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Returns the previous pseudorandom, uniformly distributed
long
value from the wrapped random number generator's sequence. - nextLong() - Method in class com.github.tommyettinger.random.RomuTrioRandom
- nextLong() - Method in class com.github.tommyettinger.random.ScruffRandom
- nextLong() - Method in class com.github.tommyettinger.random.Sfc64Random
- nextLong() - Method in class com.github.tommyettinger.random.StrangerRandom
- nextLong() - Method in class com.github.tommyettinger.random.Taxon32Random
- nextLong() - Method in class com.github.tommyettinger.random.TricycleRandom
- nextLong() - Method in class com.github.tommyettinger.random.TrimRandom
- nextLong() - Method in class com.github.tommyettinger.random.TupleQuasiRandom
- nextLong() - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
- nextLong() - Method in class com.github.tommyettinger.random.WhiskerRandom
- nextLong() - Method in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
- nextLong() - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- nextLong() - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
- nextLong() - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
- nextLong(long) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns a pseudorandom, uniformly distributed
long
value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence. - nextLong(long) - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns a pseudorandom, uniformly distributed
long
value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence. - nextLong(long, long) - Method in class com.github.tommyettinger.random.Bear32Random
- nextLong(long, long) - Method in class com.github.tommyettinger.random.Chill32Random
- nextLong(long, long) - Method in class com.github.tommyettinger.random.Choo32Random
- nextLong(long, long) - Method in class com.github.tommyettinger.random.ChopRandom
- nextLong(long, long) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns a pseudorandom, uniformly distributed
long
value between the specifiedinnerBound
(inclusive) and the specifiedouterBound
(exclusive). - nextLong(long, long) - Method in class com.github.tommyettinger.random.Jsf32Random
- nextLong(long, long) - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns a pseudorandom, uniformly distributed
long
value between the specifiedinnerBound
(inclusive) and the specifiedouterBound
(exclusive). - nextLong(long, long) - Method in class com.github.tommyettinger.random.Respite32Random
- nextLong(long, long) - Method in class com.github.tommyettinger.random.Taxon32Random
- nextLong(long, long) - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- nextSign() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns -1 or 1, randomly.
- nextSign() - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns -1 or 1, randomly.
- nextSignedInt(int) - Method in class com.github.tommyettinger.random.Bear32Random
- nextSignedInt(int) - Method in class com.github.tommyettinger.random.Chill32Random
- nextSignedInt(int) - Method in class com.github.tommyettinger.random.Choo32Random
- nextSignedInt(int) - Method in class com.github.tommyettinger.random.ChopRandom
- nextSignedInt(int) - Method in class com.github.tommyettinger.random.DistributedRandom
- nextSignedInt(int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns a pseudorandom, uniformly distributed
int
value between an inner bound of 0 (inclusive) and the specifiedouterBound
(exclusive). - nextSignedInt(int) - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
- nextSignedInt(int) - Method in class com.github.tommyettinger.random.InterpolatedRandom
- nextSignedInt(int) - Method in class com.github.tommyettinger.random.Jsf32Random
- nextSignedInt(int) - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns a pseudorandom, uniformly distributed
int
value between an inner bound of 0 (inclusive) and the specifiedouterBound
(exclusive). - nextSignedInt(int) - Method in class com.github.tommyettinger.random.Respite32Random
- nextSignedInt(int) - Method in class com.github.tommyettinger.random.Taxon32Random
- nextSignedInt(int) - Method in class com.github.tommyettinger.random.TupleQuasiRandom
- nextSignedInt(int) - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
- nextSignedInt(int) - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- nextSignedInt(int, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns a pseudorandom, uniformly distributed
int
value between the specifiedinnerBound
(inclusive) and the specifiedouterBound
(exclusive). - nextSignedInt(int, int) - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns a pseudorandom, uniformly distributed
int
value between the specifiedinnerBound
(inclusive) and the specifiedouterBound
(exclusive). - nextSignedLong(long) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns a pseudorandom, uniformly distributed
long
value between an inner bound of 0 (inclusive) and the specifiedouterBound
(exclusive). - nextSignedLong(long) - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns a pseudorandom, uniformly distributed
long
value between an inner bound of 0 (inclusive) and the specifiedouterBound
(exclusive). - nextSignedLong(long, long) - Method in class com.github.tommyettinger.random.Bear32Random
- nextSignedLong(long, long) - Method in class com.github.tommyettinger.random.Chill32Random
- nextSignedLong(long, long) - Method in class com.github.tommyettinger.random.Choo32Random
- nextSignedLong(long, long) - Method in class com.github.tommyettinger.random.ChopRandom
- nextSignedLong(long, long) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns a pseudorandom, uniformly distributed
long
value between the specifiedinnerBound
(inclusive) and the specifiedouterBound
(exclusive). - nextSignedLong(long, long) - Method in class com.github.tommyettinger.random.Jsf32Random
- nextSignedLong(long, long) - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns a pseudorandom, uniformly distributed
long
value between the specifiedinnerBound
(inclusive) and the specifiedouterBound
(exclusive). - nextSignedLong(long, long) - Method in class com.github.tommyettinger.random.Respite32Random
- nextSignedLong(long, long) - Method in class com.github.tommyettinger.random.Taxon32Random
- nextSignedLong(long, long) - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- nextTriangular() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns a triangularly distributed random number between -1.0 (exclusive) and 1.0 (exclusive), where values around zero are more likely.
- nextTriangular() - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns a triangularly distributed random number between -1.0 (exclusive) and 1.0 (exclusive), where values around zero are more likely.
- nextTriangular(float) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns a triangularly distributed random number between
-max
(exclusive) andmax
(exclusive), where values around zero are more likely. - nextTriangular(float) - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns a triangularly distributed random number between
-max
(exclusive) andmax
(exclusive), where values around zero are more likely. - nextTriangular(float, float) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns a triangularly distributed random number between
min
(inclusive) andmax
(exclusive), where themode
argument defaults to the midpoint between the bounds, giving a symmetric distribution. - nextTriangular(float, float) - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns a triangularly distributed random number between
min
(inclusive) andmax
(exclusive), where themode
argument defaults to the midpoint between the bounds, giving a symmetric distribution. - nextTriangular(float, float, float) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns a triangularly distributed random number between
min
(inclusive) andmax
(exclusive), where values aroundmode
are more likely. - nextTriangular(float, float, float) - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns a triangularly distributed random number between
min
(inclusive) andmax
(exclusive), where values aroundmode
are more likely. - nextUnsignedInt(int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Returns a pseudorandom, uniformly distributed
int
value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence. - nextUnsignedInt(int) - Method in class com.github.tommyettinger.random.LaserRandom
-
Returns a pseudorandom, uniformly distributed
int
value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence. - NO_OP - Static variable in class com.github.tommyettinger.random.LongSequence
-
This is a special single instance of a subclass of LongSequence; it doesn't store anything, and can't have its
LongSequence.get(int)
method called. - normal(long) - Static method in class com.github.tommyettinger.random.Ziggurat
-
Given a long where all bits are sufficiently (independently) random, this produces a normal-distributed (Gaussian) variable as if by a normal distribution with mean (mu) 0.0 and standard deviation (sigma) 1.0.
- NormalDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with infinite range, also called the Gaussian distribution.
- NormalDistribution() - Constructor for class com.github.tommyettinger.random.distribution.NormalDistribution
-
Uses an
AceRandom
, mu = 0.0, sigma = 1.0 . - NormalDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.NormalDistribution
-
Uses an
AceRandom
and the given mu and sigma. - NormalDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.NormalDistribution
-
Uses the given EnhancedRandom directly.
P
- ParetoDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with range from
ParetoDistribution.getAlpha()
to positive infinity. - ParetoDistribution() - Constructor for class com.github.tommyettinger.random.distribution.ParetoDistribution
-
Uses an
AceRandom
, alpha = 1.0, beta = 1.0 . - ParetoDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.ParetoDistribution
-
Uses an
AceRandom
and the given alpha and beta. - ParetoDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.ParetoDistribution
-
Uses the given EnhancedRandom directly.
- PasarRandom - Class in com.github.tommyettinger.random
-
Like WhiskerRandom, but this has a fifth state that runs like a counter, guaranteeing a minimum period of 2 to the 64.
- PasarRandom() - Constructor for class com.github.tommyettinger.random.PasarRandom
-
Creates a new PasarRandom with a random state.
- PasarRandom(long) - Constructor for class com.github.tommyettinger.random.PasarRandom
-
Creates a new PasarRandom with the given seed; all
long
values are permitted. - PasarRandom(long, long, long, long, long) - Constructor for class com.github.tommyettinger.random.PasarRandom
-
Creates a new PasarRandom with the given five states; all
long
values are permitted. - pauseStorage() - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Makes this ArchivalWrapper stop storing generated random numbers, and returns the current
LongSequence
this had before pausing. - PcgRXSMXSRandom - Class in com.github.tommyettinger.random
-
An exact copy of PCG-Random's RXS-M-XS generator.
- PcgRXSMXSRandom() - Constructor for class com.github.tommyettinger.random.PcgRXSMXSRandom
-
Creates a new PcgRXSMXSRandom with a random state.
- PcgRXSMXSRandom(long) - Constructor for class com.github.tommyettinger.random.PcgRXSMXSRandom
-
Creates a new PcgRXSMXSRandom with the given seed; all
long
values are permitted. - PcgRXSMXSRandom(long, long) - Constructor for class com.github.tommyettinger.random.PcgRXSMXSRandom
-
Creates a new PcgRXSMXSRandom with the given two states; all
long
values are permitted for stateA, and all odd-numberlong
values are permitted for stateB. - PoissonDistribution - Class in com.github.tommyettinger.random.distribution
-
A one-parameter discrete distribution with integer range from 0 inclusive to positive infinity.
- PoissonDistribution() - Constructor for class com.github.tommyettinger.random.distribution.PoissonDistribution
-
Uses an
AceRandom
, lambda = 1.0 . - PoissonDistribution(double) - Constructor for class com.github.tommyettinger.random.distribution.PoissonDistribution
-
Uses an
AceRandom
and the given lambda. - PoissonDistribution(EnhancedRandom, double) - Constructor for class com.github.tommyettinger.random.distribution.PoissonDistribution
-
Uses the given EnhancedRandom directly.
- PouchRandom - Class in com.github.tommyettinger.random
-
A four-state EnhancedRandom that uses four different operations to generate each number, one operation per state.
- PouchRandom() - Constructor for class com.github.tommyettinger.random.PouchRandom
-
Creates a new PouchRandom with a random state.
- PouchRandom(long) - Constructor for class com.github.tommyettinger.random.PouchRandom
-
Creates a new PouchRandom with the given seed; all
long
values are permitted. - PouchRandom(long, long, long, long) - Constructor for class com.github.tommyettinger.random.PouchRandom
-
Creates a new PouchRandom with the given four states; all
long
values are permitted for states A, B, and C, and all odd-numberlong
values are permitted for stateD, with one exception. - PowerDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with range between 0 and 1.0/beta, both inclusive.
- PowerDistribution() - Constructor for class com.github.tommyettinger.random.distribution.PowerDistribution
-
Uses an
AceRandom
, alpha = 1.0, beta = 1.0 . - PowerDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.PowerDistribution
-
Uses an
AceRandom
and the given alpha and beta. - PowerDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.PowerDistribution
-
Uses the given EnhancedRandom directly.
- previousInt() - Method in class com.github.tommyettinger.random.Bear32Random
- previousInt() - Method in class com.github.tommyettinger.random.Chill32Random
- previousInt() - Method in class com.github.tommyettinger.random.Choo32Random
- previousInt() - Method in class com.github.tommyettinger.random.ChopRandom
- previousInt() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Optional; moves the state to its previous value and returns the previous int that would have been produced by
EnhancedRandom.nextInt()
. - previousInt() - Method in class com.github.tommyettinger.random.Jsf32Random
- previousInt() - Method in class com.github.tommyettinger.random.Respite32Random
- previousInt() - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Delegates to the
EnhancedRandom.nextInt()
method of the wrapped generator; this is the counterpart to howReverseWrapper.nextInt()
here delegates to theEnhancedRandom.previousInt()
()} method of the wrapped generator. - previousInt() - Method in class com.github.tommyettinger.random.Taxon32Random
- previousInt() - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- previousLong() - Method in class com.github.tommyettinger.random.AceRandom
- previousLong() - Method in class com.github.tommyettinger.random.Bear32Random
- previousLong() - Method in class com.github.tommyettinger.random.Chill32Random
- previousLong() - Method in class com.github.tommyettinger.random.Choo32Random
- previousLong() - Method in class com.github.tommyettinger.random.ChopRandom
- previousLong() - Method in class com.github.tommyettinger.random.DistinctRandom
- previousLong() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Optional; moves the state to its previous value and returns the previous long that would have been produced by
EnhancedRandom.nextLong()
. - previousLong() - Method in class com.github.tommyettinger.random.FlowRandom
- previousLong() - Method in class com.github.tommyettinger.random.FourWheelRandom
- previousLong() - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
- previousLong() - Method in class com.github.tommyettinger.random.Jsf32Random
- previousLong() - Method in class com.github.tommyettinger.random.KnownSequenceRandom
-
Optional; moves the state to its previous value and returns the previous long that would have been produced by
KnownSequenceRandom.nextLong()
. - previousLong() - Method in class com.github.tommyettinger.random.LaserRandom
- previousLong() - Method in class com.github.tommyettinger.random.LowChangeQuasiRandom
- previousLong() - Method in class com.github.tommyettinger.random.MizuchiRandom
- previousLong() - Method in class com.github.tommyettinger.random.PasarRandom
- previousLong() - Method in class com.github.tommyettinger.random.PcgRXSMXSRandom
- previousLong() - Method in class com.github.tommyettinger.random.PouchRandom
- previousLong() - Method in class com.github.tommyettinger.random.Respite32Random
- previousLong() - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Delegates to the
EnhancedRandom.nextLong()
method of the wrapped generator; this is the counterpart to howReverseWrapper.nextLong()
here delegates to theEnhancedRandom.previousLong()
method of the wrapped generator. - previousLong() - Method in class com.github.tommyettinger.random.RomuTrioRandom
- previousLong() - Method in class com.github.tommyettinger.random.ScruffRandom
- previousLong() - Method in class com.github.tommyettinger.random.Sfc64Random
- previousLong() - Method in class com.github.tommyettinger.random.StrangerRandom
- previousLong() - Method in class com.github.tommyettinger.random.Taxon32Random
- previousLong() - Method in class com.github.tommyettinger.random.TricycleRandom
- previousLong() - Method in class com.github.tommyettinger.random.TrimRandom
- previousLong() - Method in class com.github.tommyettinger.random.TupleQuasiRandom
- previousLong() - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
- previousLong() - Method in class com.github.tommyettinger.random.WhiskerRandom
- previousLong() - Method in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
- previousLong() - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- previousLong() - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
- previousLong() - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
- probit(double) - Static method in class com.github.tommyettinger.random.EnhancedRandom
-
A way of taking a double in the (0.0, 1.0) range and mapping it to a Gaussian or normal distribution, so high inputs correspond to high outputs, and similarly for the low range.
Q
- quobble(int, double) - Static method in class com.github.tommyettinger.random.LineWobble
-
Quilez' 1D noise, with some changes to work on the CPU.
- quobble(int, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
Quilez' 1D noise, with some changes to work on the CPU.
- quobble(long, double) - Static method in class com.github.tommyettinger.random.LineWobble
-
Quilez' 1D noise, with some changes to work on the CPU.
- quobble(long, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
Quilez' 1D noise, with some changes to work on the CPU.
- quobbleOctave2(int, double) - Static method in class com.github.tommyettinger.random.LineWobble
-
Just gets two octaves of
LineWobble.quobble(int, double)
; still has a range of -1 to 1. - quobbleOctave2(int, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
Just gets two octaves of
LineWobble.quobble(int, float)
; still has a range of -1 to 1. - quobbleOctave2(long, double) - Static method in class com.github.tommyettinger.random.LineWobble
-
Just gets two octaves of
LineWobble.quobble(long, double)
; still has a range of -1 to 1. - quobbleOctave2(long, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
Just gets two octaves of
LineWobble.quobble(long, float)
; still has a range of -1 to 1.
R
- random - Variable in class com.github.tommyettinger.random.InterpolatedRandom
- randomElement(List<T>) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Gets a randomly selected item from the given List, such as an ArrayList.
- randomElement(T[]) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Gets a randomly-selected item from the given array, which must be non-null and non-empty
- randomElement(T[]) - Method in class com.github.tommyettinger.random.LaserRandom
-
Gets a randomly-selected item from the given array, which must be non-null and non-empty
- RayleighDistribution - Class in com.github.tommyettinger.random.distribution
-
A one-parameter distribution with range from 0 exclusive to positive infinity.
- RayleighDistribution() - Constructor for class com.github.tommyettinger.random.distribution.RayleighDistribution
-
Uses an
AceRandom
, sigma = 1.0 . - RayleighDistribution(double) - Constructor for class com.github.tommyettinger.random.distribution.RayleighDistribution
-
Uses an
AceRandom
and the given sigma. - RayleighDistribution(EnhancedRandom, double) - Constructor for class com.github.tommyettinger.random.distribution.RayleighDistribution
-
Uses the given EnhancedRandom directly.
- readExternal(ObjectInput) - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
- readExternal(ObjectInput) - Method in class com.github.tommyettinger.random.DistributedRandom
-
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
- readExternal(ObjectInput) - Method in class com.github.tommyettinger.random.distribution.Distribution
-
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
- readExternal(ObjectInput) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
- readExternal(ObjectInput) - Method in class com.github.tommyettinger.random.InterpolatedRandom
-
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
- readExternal(ObjectInput) - Method in class com.github.tommyettinger.random.KnownSequenceRandom
-
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
- readExternal(ObjectInput) - Method in class com.github.tommyettinger.random.LongSequence
-
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
- readExternal(ObjectInput) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
- reduction - Variable in class com.github.tommyettinger.random.DistributedRandom
- register(Distribution) - Static method in class com.github.tommyettinger.random.Deserializer
-
Given a (typically freshly-constructed and never-reused) Distribution, this registers that instance by its
Distribution.getTag()
in a Map, so that this type of Distribution can be deserialized correctly byDeserializer.deserializeDistribution(String, Base)
. - register(EnhancedRandom) - Static method in class com.github.tommyettinger.random.Deserializer
-
Given a (typically freshly-constructed and never-reused) EnhancedRandom, this registers that instance by its
EnhancedRandom.getTag()
in a Map, so that this type of EnhancedRandom can be deserialized correctly byDeserializer.deserialize(String, Base)
. - REJECT - Enum constant in enum class com.github.tommyettinger.random.DistributedRandom.ReductionMode
-
Repeatedly attempts to get one distributed double, check if it is between 0.0 inclusive and 1.0 exclusive, and either return it if it is within range or get another distributed double and try again.
- resize(int) - Method in class com.github.tommyettinger.random.LongSequence
- Respite32Random - Class in com.github.tommyettinger.random
-
A random number generator that is optimized for performance on 32-bit machines and with Google Web Toolkit, Respite32Random is a 32-bit-native generator here that doesn't have any shorter subcycles (because it only has one cycle, of length 2 to the 96).
- Respite32Random() - Constructor for class com.github.tommyettinger.random.Respite32Random
-
Creates a new Respite32Random with a random state.
- Respite32Random(int, int, int) - Constructor for class com.github.tommyettinger.random.Respite32Random
-
Creates a new Respite32Random with the given three states.
- Respite32Random(long) - Constructor for class com.github.tommyettinger.random.Respite32Random
-
Creates a new Respite32Random with the given seed; all
long
values are permitted. - ReverseWrapper - Class in com.github.tommyettinger.random
-
A wrapper around a different
EnhancedRandom
object that runs it in reverse, callingEnhancedRandom.previousLong()
instead anywhereReverseWrapper.nextLong()
would be called. - ReverseWrapper() - Constructor for class com.github.tommyettinger.random.ReverseWrapper
-
Creates a ReverseWrapper that wraps a DistinctRandom with a random seed.
- ReverseWrapper(long) - Constructor for class com.github.tommyettinger.random.ReverseWrapper
-
Creates a ReverseWrapper that wraps a DistinctRandom created with
DistinctRandom(long)
. - ReverseWrapper(EnhancedRandom) - Constructor for class com.github.tommyettinger.random.ReverseWrapper
-
This does not copy
toWrap
, and uses a reference as-is, so this can be useful to reverse some series of calls made earlier to toWrap in a forward direction. - ReverseWrapper(ReverseWrapper) - Constructor for class com.github.tommyettinger.random.ReverseWrapper
-
The copy constructor.
- RomuTrioRandom - Class in com.github.tommyettinger.random
-
A well-studied RNG that can be quite fast in some circumstances.
- RomuTrioRandom() - Constructor for class com.github.tommyettinger.random.RomuTrioRandom
-
Creates a new RomuTrioRandom with a random state.
- RomuTrioRandom(long) - Constructor for class com.github.tommyettinger.random.RomuTrioRandom
-
Creates a new RomuTrioRandom with the given seed; all
long
values are permitted. - RomuTrioRandom(long, long, long) - Constructor for class com.github.tommyettinger.random.RomuTrioRandom
-
Creates a new RomuTrioRandom with the given three states; all
long
values are permitted unless all three states are 0.
S
- sample(EnhancedRandom, double) - Static method in class com.github.tommyettinger.random.distribution.BernoulliDistribution
- sample(EnhancedRandom, double) - Static method in class com.github.tommyettinger.random.distribution.ChiDistribution
- sample(EnhancedRandom, double) - Static method in class com.github.tommyettinger.random.distribution.ChiSquareDistribution
- sample(EnhancedRandom, double) - Static method in class com.github.tommyettinger.random.distribution.ExponentialDistribution
- sample(EnhancedRandom, double) - Static method in class com.github.tommyettinger.random.distribution.GeometricDistribution
- sample(EnhancedRandom, double) - Static method in class com.github.tommyettinger.random.distribution.PoissonDistribution
- sample(EnhancedRandom, double) - Static method in class com.github.tommyettinger.random.distribution.RayleighDistribution
- sample(EnhancedRandom, double) - Static method in class com.github.tommyettinger.random.distribution.StudentsTDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.ArcsineDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.BetaDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.CauchyDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.FisherTippettDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.GammaDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.LaplaceDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.LogCauchyDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.LogisticDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.LogNormalDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.LumpDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.NormalDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.ParetoDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.PowerDistribution
- sample(EnhancedRandom, double, double) - Static method in class com.github.tommyettinger.random.distribution.WeibullDistribution
- sample(EnhancedRandom, double, double, double) - Static method in class com.github.tommyettinger.random.distribution.KnobDistribution
- sample(EnhancedRandom, double, double, double) - Static method in class com.github.tommyettinger.random.distribution.TriangularDistribution
- sample(EnhancedRandom, double, double, double, double) - Static method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
- sample(EnhancedRandom, double, int) - Static method in class com.github.tommyettinger.random.distribution.BinomialDistribution
- sample(EnhancedRandom, int, double) - Static method in class com.github.tommyettinger.random.distribution.ErlangDistribution
- sample(EnhancedRandom, int, int) - Static method in class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
- sample(EnhancedRandom, long, double, double) - Static method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
- ScruffRandom - Class in com.github.tommyettinger.random
-
A generator with 4
long
states and a guaranteed minimum period of 2 to the 64, this is structured much like WhiskerRandom and is almost as fast. - ScruffRandom() - Constructor for class com.github.tommyettinger.random.ScruffRandom
-
Creates a new ScruffRandom with a random state.
- ScruffRandom(long) - Constructor for class com.github.tommyettinger.random.ScruffRandom
-
Creates a new ScruffRandom with the given seed; all
long
values are permitted. - ScruffRandom(long, long, long, long) - Constructor for class com.github.tommyettinger.random.ScruffRandom
-
Creates a new ScruffRandom with the given four states; all
long
values are permitted except thatstateA
must be odd, otherwise it will have 1 added to it to make it odd. - seedFromMath() - Static method in class com.github.tommyettinger.random.EnhancedRandom
-
Uses
Math.random()
to hastily put together a not-especially-uniformlong
value, meant only to produce a seed when no seed was specified (the "I don't care" seed). - setArchive(LongSequence) - Method in class com.github.tommyettinger.random.ArchivalWrapper
- setDistribution(Distribution) - Method in class com.github.tommyettinger.random.DistributedRandom
- setInterpolator(Interpolations.Interpolator) - Method in class com.github.tommyettinger.random.InterpolatedRandom
- setKnown(LongSequence) - Method in class com.github.tommyettinger.random.KnownSequenceRandom
-
Changes the known sequence this draws its results from.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.ArcsineDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.BernoulliDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.BetaDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.BetaPrimeDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.BinomialDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.CauchyDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.ChiDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.ChiSquareDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Validates, and if all correct, sets up to 3 parameters to this distribution.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.ErlangDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.ExponentialDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.FisherTippettDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.GammaDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.GeometricDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.KnobDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.KumaraswamyDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.LaplaceDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.LogCauchyDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.LogisticDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.LogNormalDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.LumpDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.NormalDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.ParetoDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.PoissonDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.PowerDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.RayleighDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.StudentsTDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.TriangularDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.WeibullDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setParameters(double, double, double) - Method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
-
Sets all parameters and returns true if they are valid, otherwise leaves parameters unchanged and returns false.
- setRandom(EnhancedRandom) - Method in class com.github.tommyettinger.random.DistributedRandom
- setRandom(EnhancedRandom) - Method in class com.github.tommyettinger.random.InterpolatedRandom
- setReduction(DistributedRandom.ReductionMode) - Method in class com.github.tommyettinger.random.DistributedRandom
- setSeed(int) - Method in class com.github.tommyettinger.random.Choo32Random
-
This initializes all 4 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.AceRandom
-
This initializes all 5 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Sets the seed of this random number generator using a single
long
seed. - setSeed(long) - Method in class com.github.tommyettinger.random.Bear32Random
-
This initializes all 4 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.Chill32Random
-
This initializes all 3 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.Choo32Random
-
This initializes all 4 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.ChopRandom
-
This initializes all 4 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.Crand64Random
-
This initializes all 5 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.DistinctRandom
-
Sets the only state, which can be given any long value; this seed value will not be altered.
- setSeed(long) - Method in class com.github.tommyettinger.random.DistributedRandom
- setSeed(long) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Sets the seed of this random number generator using a single
long
seed. - setSeed(long) - Method in class com.github.tommyettinger.random.FlowRandom
-
This initializes both states of the generator to different values; one is
seed
, the other is~seed
. - setSeed(long) - Method in class com.github.tommyettinger.random.FourWheelRandom
-
This initializes all 4 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
-
Sets the only state, which can be given any long value; this seed value will not be altered.
- setSeed(long) - Method in class com.github.tommyettinger.random.InterpolatedRandom
- setSeed(long) - Method in class com.github.tommyettinger.random.Jsf32Random
-
This initializes all 4 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.KnownSequenceRandom
-
Sets the position of the iteration this makes through its known sequence.
- setSeed(long) - Method in class com.github.tommyettinger.random.LaserRandom
-
Sets the seed of this random number generator using a single
long
seed. - setSeed(long) - Method in class com.github.tommyettinger.random.LowChangeQuasiRandom
- setSeed(long) - Method in class com.github.tommyettinger.random.MizuchiRandom
-
This initializes both states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.PasarRandom
-
This initializes all 5 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.PcgRXSMXSRandom
-
This initializes both states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.PouchRandom
-
This initializes all 4 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.Respite32Random
-
This initializes all 3 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Sets the seed of this random number generator using a single
long
seed. - setSeed(long) - Method in class com.github.tommyettinger.random.RomuTrioRandom
-
This initializes all 3 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.ScruffRandom
-
This initializes all 4 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.Sfc64Random
-
This initializes all 4 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.StrangerRandom
-
This initializes all 4 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.Taxon32Random
-
This initializes both states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.TricycleRandom
-
This initializes all 3 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.TrimRandom
-
This initializes all 4 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.TupleQuasiRandom
-
Sets the only state, which can be given any long value; this seed value will not be altered.
- setSeed(long) - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
-
Sets the only state, which can be given any long value; this seed value will not be altered.
- setSeed(long) - Method in class com.github.tommyettinger.random.WhiskerRandom
-
This initializes all 4 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
-
This initializes all 4 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
-
This initializes all 4 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
-
This initializes all 4 states of the generator to random values based on the given seed.
- setSeed(long) - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
-
This initializes all 4 states of the generator to random values based on the given seed.
- setSelectedState(int, long) - Method in class com.github.tommyettinger.random.AceRandom
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Sets a selected state value to the given long
value
. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.Bear32Random
-
Sets one of the states, determined by
selection
, to the lower 32 bits ofvalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.Chill32Random
-
Sets one of the states, determined by
selection
, to the lower 32 bits ofvalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.Choo32Random
-
Sets one of the states, determined by
selection
, to the lower 32 bits ofvalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.ChopRandom
-
Sets one of the states, determined by
selection
, to the lower 32 bits ofvalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.Crand64Random
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.DistinctRandom
-
Sets the only state, which can be given any long value.
- setSelectedState(int, long) - Method in class com.github.tommyettinger.random.DistributedRandom
- setSelectedState(int, long) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Sets a selected state value to the given long
value
. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.FlowRandom
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.FourWheelRandom
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
-
Sets the only state, which can be given any long value.
- setSelectedState(int, long) - Method in class com.github.tommyettinger.random.InterpolatedRandom
- setSelectedState(int, long) - Method in class com.github.tommyettinger.random.Jsf32Random
-
Sets one of the states, determined by
selection
, to the lower 32 bits ofvalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.KnownSequenceRandom
-
Sets the index/position in the known sequence, if
value
is at least equal to 0 and less thanknown.size
. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.LaserRandom
-
Sets a selected state value to the given long
value
. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.LowChangeQuasiRandom
- setSelectedState(int, long) - Method in class com.github.tommyettinger.random.MizuchiRandom
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.PasarRandom
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.PcgRXSMXSRandom
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.PouchRandom
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.Respite32Random
-
Sets one of the states, determined by
selection
, to the lower 32 bits ofvalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Sets a selected state value to the given long
value
. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.RomuTrioRandom
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.ScruffRandom
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.Sfc64Random
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.StrangerRandom
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.Taxon32Random
-
Sets one of the states, determined by
selection
, to the lower 32 bits ofvalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.TricycleRandom
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.TrimRandom
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.TupleQuasiRandom
-
This always sets the main state, which can be any long value.
- setSelectedState(int, long) - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
-
Sets the only state, which can be given any long value.
- setSelectedState(int, long) - Method in class com.github.tommyettinger.random.WhiskerRandom
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
-
Sets one of the states, determined by
selection
, to the lower 32 bits ofvalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setSelectedState(int, long) - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
-
Sets one of the states, determined by
selection
, tovalue
, as-is. - setState(long) - Method in class com.github.tommyettinger.random.AceRandom
-
Delegates to
AceRandom.setSeed(long)
, using a hash function on the input to get a variety of initial states. - setState(long) - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Sets each state variable to the given
state
. - setState(long) - Method in class com.github.tommyettinger.random.DistinctRandom
-
Sets each state variable to the given
state
. - setState(long) - Method in class com.github.tommyettinger.random.DistributedRandom
- setState(long) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Sets each state variable to the given
state
. - setState(long) - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
-
Sets each state variable to the given
state
. - setState(long) - Method in class com.github.tommyettinger.random.InterpolatedRandom
- setState(long) - Method in class com.github.tommyettinger.random.KnownSequenceRandom
-
Sets the index/position in the known sequence, if
state
is at least equal to 0 and less thanknown.size
. - setState(long) - Method in class com.github.tommyettinger.random.LowChangeQuasiRandom
- setState(long) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Sets each state variable to the given
state
. - setState(long) - Method in class com.github.tommyettinger.random.TupleQuasiRandom
-
Sets the main state variable to the given
state
. - setState(long) - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
-
Sets each state variable to the given
state
. - setState(long...) - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Sets all state variables to alternating values chosen from
states
. - setState(long...) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Sets all state variables to alternating values chosen from
states
. - setState(long...) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Sets all state variables to alternating values chosen from
states
. - setState(long, long) - Method in class com.github.tommyettinger.random.AceRandom
-
Sets the state completely to the given two state variables.
- setState(long, long) - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Sets each state variable to either
stateA
orstateB
, alternating. - setState(long, long) - Method in class com.github.tommyettinger.random.DistributedRandom
- setState(long, long) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Sets each state variable to either
stateA
orstateB
, alternating. - setState(long, long) - Method in class com.github.tommyettinger.random.FlowRandom
-
Sets the state completely to the given two state variables.
- setState(long, long) - Method in class com.github.tommyettinger.random.InterpolatedRandom
- setState(long, long) - Method in class com.github.tommyettinger.random.LaserRandom
-
Sets both parts of the internal state with one call;
stateA
is used verbatim, butstateB
has its least significant bit ignored and always overwritten with a '1' bit (meaning stateB will always be odd). - setState(long, long) - Method in class com.github.tommyettinger.random.LowChangeQuasiRandom
- setState(long, long) - Method in class com.github.tommyettinger.random.MizuchiRandom
-
Sets the state completely to the given three state variables.
- setState(long, long) - Method in class com.github.tommyettinger.random.PcgRXSMXSRandom
-
Sets the state completely to the given three state variables.
- setState(long, long) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Sets each state variable to either
stateA
orstateB
, alternating. - setState(long, long) - Method in class com.github.tommyettinger.random.Taxon32Random
-
Sets the state completely to the given state variables, casting each to an int.
- setState(long, long) - Method in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
-
Sets the state completely to the given four state variables.
- setState(long, long, long) - Method in class com.github.tommyettinger.random.AceRandom
-
Sets the state completely to the given three state variables.
- setState(long, long, long) - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Sets each state variable to
stateA
,stateB
, orstateC
, alternating. - setState(long, long, long) - Method in class com.github.tommyettinger.random.Chill32Random
-
Sets the state completely to the given three state variables, casting each to an int.
- setState(long, long, long) - Method in class com.github.tommyettinger.random.DistributedRandom
- setState(long, long, long) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Sets each state variable to
stateA
,stateB
, orstateC
, alternating. - setState(long, long, long) - Method in class com.github.tommyettinger.random.InterpolatedRandom
- setState(long, long, long) - Method in class com.github.tommyettinger.random.Respite32Random
-
Sets the state completely to the given three state variables, casting each to an int.
- setState(long, long, long) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Sets each state variable to
stateA
,stateB
, orstateC
, alternating. - setState(long, long, long) - Method in class com.github.tommyettinger.random.RomuTrioRandom
-
Sets the state completely to the given three state variables.
- setState(long, long, long) - Method in class com.github.tommyettinger.random.StrangerRandom
-
Sets the state with three variables, ensuring that the result has states A and B sufficiently separated from each other, while keeping states C and D as given.
- setState(long, long, long) - Method in class com.github.tommyettinger.random.TricycleRandom
-
Sets the state completely to the given three state variables.
- setState(long, long, long, long) - Method in class com.github.tommyettinger.random.AceRandom
-
Sets the state completely to the given four state variables.
- setState(long, long, long, long) - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Sets each state variable to
stateA
,stateB
,stateC
, orstateD
, alternating. - setState(long, long, long, long) - Method in class com.github.tommyettinger.random.Bear32Random
-
Sets the state completely to the given four state variables, casting each to an int.
- setState(long, long, long, long) - Method in class com.github.tommyettinger.random.Choo32Random
-
Sets the state completely to the given four state variables, casting each to an int.
- setState(long, long, long, long) - Method in class com.github.tommyettinger.random.ChopRandom
-
Sets the state completely to the given four state variables, casting each to an int.
- setState(long, long, long, long) - Method in class com.github.tommyettinger.random.DistributedRandom
- setState(long, long, long, long) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Sets each state variable to
stateA
,stateB
,stateC
, orstateD
, alternating. - setState(long, long, long, long) - Method in class com.github.tommyettinger.random.FourWheelRandom
-
Sets the state completely to the given four state variables.
- setState(long, long, long, long) - Method in class com.github.tommyettinger.random.InterpolatedRandom
- setState(long, long, long, long) - Method in class com.github.tommyettinger.random.Jsf32Random
-
Sets the state completely to the given four state variables, casting each to an int.
- setState(long, long, long, long) - Method in class com.github.tommyettinger.random.PouchRandom
-
Sets the state completely to the given four state variables.
- setState(long, long, long, long) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Sets each state variable to
stateA
,stateB
,stateC
, orstateD
, alternating. - setState(long, long, long, long) - Method in class com.github.tommyettinger.random.ScruffRandom
-
Sets the state completely to the given four state variables.
- setState(long, long, long, long) - Method in class com.github.tommyettinger.random.Sfc64Random
-
Sets the state completely to the given four state variables.
- setState(long, long, long, long) - Method in class com.github.tommyettinger.random.StrangerRandom
-
Sets the state completely to the given four state variables, unless stateA or stateB are 0.
- setState(long, long, long, long) - Method in class com.github.tommyettinger.random.TrimRandom
-
Sets the state completely to the given four state variables.
- setState(long, long, long, long) - Method in class com.github.tommyettinger.random.WhiskerRandom
-
Sets the state completely to the given four state variables.
- setState(long, long, long, long) - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
-
Sets the state completely to the given four state variables, casting each to an int.
- setState(long, long, long, long) - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
-
Sets the state completely to the given four state variables.
- setState(long, long, long, long) - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
-
Sets the state completely to the given four state variables.
- setState(long, long, long, long, long) - Method in class com.github.tommyettinger.random.AceRandom
-
Sets the state completely to the given five state variables.
- setState(long, long, long, long, long) - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Sets each state variable to
stateA
,stateB
,stateC
, orstateD
, alternating. - setState(long, long, long, long, long) - Method in class com.github.tommyettinger.random.Crand64Random
-
Sets the state completely to the given five state variables.
- setState(long, long, long, long, long) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Sets each state variable to
stateA
,stateB
,stateC
, orstateD
, alternating. - setState(long, long, long, long, long) - Method in class com.github.tommyettinger.random.PasarRandom
-
Sets the state completely to the given five state variables.
- setState(long, long, long, long, long) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Sets each state variable to
stateA
,stateB
,stateC
, orstateD
, alternating. - setStateA(long) - Method in class com.github.tommyettinger.random.AceRandom
-
Sets the first part of the state.
- setStateA(long) - Method in class com.github.tommyettinger.random.Bear32Random
-
Sets the first part of the state by casting the parameter to an int.
- setStateA(long) - Method in class com.github.tommyettinger.random.Chill32Random
-
Sets the first part of the state by casting the parameter to an int.
- setStateA(long) - Method in class com.github.tommyettinger.random.Choo32Random
-
Sets the first part of the state by casting the parameter to an int.
- setStateA(long) - Method in class com.github.tommyettinger.random.ChopRandom
-
Sets the first part of the state by casting the parameter to an int.
- setStateA(long) - Method in class com.github.tommyettinger.random.Crand64Random
-
Sets the first part of the state.
- setStateA(long) - Method in class com.github.tommyettinger.random.FlowRandom
-
Sets the first part of the state.
- setStateA(long) - Method in class com.github.tommyettinger.random.FourWheelRandom
-
Sets the first part of the state.
- setStateA(long) - Method in class com.github.tommyettinger.random.Jsf32Random
-
Sets the first part of the state by casting the parameter to an int.
- setStateA(long) - Method in class com.github.tommyettinger.random.LaserRandom
-
Set the "A" part of the internal state with a long.
- setStateA(long) - Method in class com.github.tommyettinger.random.MizuchiRandom
-
Sets the first part of the state (the changing state).
- setStateA(long) - Method in class com.github.tommyettinger.random.PasarRandom
-
Sets the first part of the state.
- setStateA(long) - Method in class com.github.tommyettinger.random.PcgRXSMXSRandom
-
Sets the first part of the state (the changing state).
- setStateA(long) - Method in class com.github.tommyettinger.random.PouchRandom
-
Sets the first part of the state.
- setStateA(long) - Method in class com.github.tommyettinger.random.Respite32Random
-
Sets the first part of the state by casting the parameter to an int.
- setStateA(long) - Method in class com.github.tommyettinger.random.RomuTrioRandom
-
Sets the first part of the state.
- setStateA(long) - Method in class com.github.tommyettinger.random.ScruffRandom
-
Sets the first part of the state.
- setStateA(long) - Method in class com.github.tommyettinger.random.Sfc64Random
-
Sets the first part of the state.
- setStateA(long) - Method in class com.github.tommyettinger.random.StrangerRandom
-
Sets the first part of the state.
- setStateA(long) - Method in class com.github.tommyettinger.random.Taxon32Random
-
Sets the first part of the state by casting the parameter to an int.
- setStateA(long) - Method in class com.github.tommyettinger.random.TricycleRandom
-
Sets the first part of the state.
- setStateA(long) - Method in class com.github.tommyettinger.random.TrimRandom
-
Sets the first part of the state.
- setStateA(long) - Method in class com.github.tommyettinger.random.WhiskerRandom
-
Sets the first part of the state.
- setStateA(long) - Method in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
-
Sets the first part of the state.
- setStateA(long) - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
-
Sets the first part of the state by casting the parameter to an int.
- setStateA(long) - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
-
Sets the first part of the state.
- setStateA(long) - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
-
Sets the first part of the state.
- setStateB(long) - Method in class com.github.tommyettinger.random.AceRandom
-
Sets the second part of the state.
- setStateB(long) - Method in class com.github.tommyettinger.random.Bear32Random
-
Sets the second part of the state by casting the parameter to an int.
- setStateB(long) - Method in class com.github.tommyettinger.random.Chill32Random
-
Sets the second part of the state by casting the parameter to an int.
- setStateB(long) - Method in class com.github.tommyettinger.random.Choo32Random
-
Sets the second part of the state by casting the parameter to an int.
- setStateB(long) - Method in class com.github.tommyettinger.random.ChopRandom
-
Sets the second part of the state by casting the parameter to an int.
- setStateB(long) - Method in class com.github.tommyettinger.random.Crand64Random
-
Sets the second part of the state.
- setStateB(long) - Method in class com.github.tommyettinger.random.FlowRandom
-
Sets the second part of the state.
- setStateB(long) - Method in class com.github.tommyettinger.random.FourWheelRandom
-
Sets the second part of the state.
- setStateB(long) - Method in class com.github.tommyettinger.random.Jsf32Random
-
Sets the second part of the state by casting the parameter to an int.
- setStateB(long) - Method in class com.github.tommyettinger.random.LaserRandom
-
Set the "B" part of the internal state with a long; the least significant bit is ignored (will always be odd).
- setStateB(long) - Method in class com.github.tommyettinger.random.MizuchiRandom
-
Sets the second part of the state (the stream).
- setStateB(long) - Method in class com.github.tommyettinger.random.PasarRandom
-
Sets the second part of the state.
- setStateB(long) - Method in class com.github.tommyettinger.random.PcgRXSMXSRandom
-
Sets the second part of the state (the stream or increment).
- setStateB(long) - Method in class com.github.tommyettinger.random.PouchRandom
-
Sets the second part of the state.
- setStateB(long) - Method in class com.github.tommyettinger.random.Respite32Random
-
Sets the second part of the state by casting the parameter to an int.
- setStateB(long) - Method in class com.github.tommyettinger.random.RomuTrioRandom
-
Sets the second part of the state.
- setStateB(long) - Method in class com.github.tommyettinger.random.ScruffRandom
-
Sets the second part of the state.
- setStateB(long) - Method in class com.github.tommyettinger.random.Sfc64Random
-
Sets the second part of the state.
- setStateB(long) - Method in class com.github.tommyettinger.random.StrangerRandom
-
Sets the second part of the state.
- setStateB(long) - Method in class com.github.tommyettinger.random.Taxon32Random
-
Sets the second part of the state by casting the parameter to an int.
- setStateB(long) - Method in class com.github.tommyettinger.random.TricycleRandom
-
Sets the second part of the state.
- setStateB(long) - Method in class com.github.tommyettinger.random.TrimRandom
-
Sets the second part of the state.
- setStateB(long) - Method in class com.github.tommyettinger.random.WhiskerRandom
-
Sets the second part of the state.
- setStateB(long) - Method in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
-
Sets the second part of the state.
- setStateB(long) - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
-
Sets the second part of the state by casting the parameter to an int.
- setStateB(long) - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
-
Sets the second part of the state.
- setStateB(long) - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
-
Sets the second part of the state.
- setStateC(long) - Method in class com.github.tommyettinger.random.AceRandom
-
Sets the third part of the state.
- setStateC(long) - Method in class com.github.tommyettinger.random.Bear32Random
-
Sets the third part of the state by casting the parameter to an int.
- setStateC(long) - Method in class com.github.tommyettinger.random.Chill32Random
-
Sets the third part of the state by casting the parameter to an int.
- setStateC(long) - Method in class com.github.tommyettinger.random.Choo32Random
-
Sets the third part of the state by casting the parameter to an int.
- setStateC(long) - Method in class com.github.tommyettinger.random.ChopRandom
-
Sets the third part of the state by casting the parameter to an int.
- setStateC(long) - Method in class com.github.tommyettinger.random.Crand64Random
-
Sets the third part of the state.
- setStateC(long) - Method in class com.github.tommyettinger.random.FourWheelRandom
-
Sets the third part of the state.
- setStateC(long) - Method in class com.github.tommyettinger.random.Jsf32Random
-
Sets the third part of the state by casting the parameter to an int.
- setStateC(long) - Method in class com.github.tommyettinger.random.PasarRandom
-
Sets the third part of the state.
- setStateC(long) - Method in class com.github.tommyettinger.random.PouchRandom
-
Sets the third part of the state.
- setStateC(long) - Method in class com.github.tommyettinger.random.Respite32Random
-
Sets the third part of the state by casting the parameter to an int.
- setStateC(long) - Method in class com.github.tommyettinger.random.RomuTrioRandom
-
Sets the third part of the state; if all states would be 0, this instead assigns -1.
- setStateC(long) - Method in class com.github.tommyettinger.random.ScruffRandom
-
Sets the third part of the state.
- setStateC(long) - Method in class com.github.tommyettinger.random.Sfc64Random
-
Sets the third part of the state.
- setStateC(long) - Method in class com.github.tommyettinger.random.StrangerRandom
-
Sets the third part of the state.
- setStateC(long) - Method in class com.github.tommyettinger.random.TricycleRandom
-
Sets the third part of the state.
- setStateC(long) - Method in class com.github.tommyettinger.random.TrimRandom
-
Sets the third part of the state.
- setStateC(long) - Method in class com.github.tommyettinger.random.WhiskerRandom
-
Sets the third part of the state.
- setStateC(long) - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
-
Sets the third part of the state by casting the parameter to an int.
- setStateC(long) - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
-
Sets the third part of the state.
- setStateC(long) - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
-
Sets the third part of the state.
- setStateD(long) - Method in class com.github.tommyettinger.random.AceRandom
-
Sets the fourth part of the state.
- setStateD(long) - Method in class com.github.tommyettinger.random.Bear32Random
-
Sets the fourth part of the state by casting the parameter to an int.
- setStateD(long) - Method in class com.github.tommyettinger.random.Choo32Random
-
Sets the fourth part of the state by casting the parameter to an int.
- setStateD(long) - Method in class com.github.tommyettinger.random.ChopRandom
-
Sets the fourth part of the state by casting the parameter to an int.
- setStateD(long) - Method in class com.github.tommyettinger.random.Crand64Random
-
Sets the fourth part of the state.
- setStateD(long) - Method in class com.github.tommyettinger.random.FourWheelRandom
-
Sets the fourth part of the state.
- setStateD(long) - Method in class com.github.tommyettinger.random.Jsf32Random
-
Sets the fourth part of the state by casting the parameter to an int.
- setStateD(long) - Method in class com.github.tommyettinger.random.PasarRandom
-
Sets the fourth part of the state.
- setStateD(long) - Method in class com.github.tommyettinger.random.PouchRandom
-
Sets the fourth part of the state.
- setStateD(long) - Method in class com.github.tommyettinger.random.ScruffRandom
-
Sets the fourth part of the state.
- setStateD(long) - Method in class com.github.tommyettinger.random.Sfc64Random
-
Sets the fourth part of the state.
- setStateD(long) - Method in class com.github.tommyettinger.random.StrangerRandom
-
Sets the fourth part of the state.
- setStateD(long) - Method in class com.github.tommyettinger.random.TrimRandom
-
Sets the fourth part of the state.
- setStateD(long) - Method in class com.github.tommyettinger.random.WhiskerRandom
-
Sets the fourth part of the state.
- setStateD(long) - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
-
Sets the fourth part of the state by casting the parameter to an int.
- setStateD(long) - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
-
Sets the fourth part of the state.
- setStateD(long) - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
-
Sets the fourth part of the state.
- setStateE(long) - Method in class com.github.tommyettinger.random.AceRandom
-
Sets the fifth part of the state.
- setStateE(long) - Method in class com.github.tommyettinger.random.Crand64Random
-
Sets the fifth part of the state.
- setStateE(long) - Method in class com.github.tommyettinger.random.PasarRandom
-
Sets the fifth part of the state.
- setStream(long) - Method in class com.github.tommyettinger.random.FlowRandom
-
Changes the generator's stream to any of the 2 to the 64 possible streams this can be on.
- setWith(EnhancedRandom) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Similar to
EnhancedRandom.copy()
, but fills this EnhancedRandom with the state of another EnhancedRandom, usually (but not necessarily) one of the same type. - setWrapped(EnhancedRandom) - Method in class com.github.tommyettinger.random.ReverseWrapper
- setZeta(double) - Method in class com.github.tommyettinger.random.distribution.ZipfianDistribution
- Sfc64Random - Class in com.github.tommyettinger.random
-
A random number generator by Chris Doty-Humphrey, this has four
long
states, one of which is a counter. - Sfc64Random() - Constructor for class com.github.tommyettinger.random.Sfc64Random
-
Creates a new Sfc64Random with a random state.
- Sfc64Random(long) - Constructor for class com.github.tommyettinger.random.Sfc64Random
-
Creates a new Sfc64Random with the given seed; all
long
values are permitted. - Sfc64Random(long, long, long, long) - Constructor for class com.github.tommyettinger.random.Sfc64Random
-
Creates a new Sfc64Random with the given four states; all
long
values are permitted. - shiftStream(long) - Method in class com.github.tommyettinger.random.FlowRandom
-
Adjusts the generator's stream "up" or "down" to any of the 2 to the 64 possible streams this can be on.
- shuffle(boolean[]) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(boolean[]) - Method in class com.github.tommyettinger.random.LaserRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(boolean[]) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(boolean[], int, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(boolean[], int, int) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(byte[]) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(byte[]) - Method in class com.github.tommyettinger.random.LaserRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(byte[]) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(byte[], int, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(byte[], int, int) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(char[]) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(char[]) - Method in class com.github.tommyettinger.random.LaserRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(char[]) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(char[], int, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(char[], int, int) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(double[]) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(double[]) - Method in class com.github.tommyettinger.random.LaserRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(double[]) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(double[], int, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(double[], int, int) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(float[]) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(float[]) - Method in class com.github.tommyettinger.random.LaserRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(float[]) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(float[], int, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(float[], int, int) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(int[]) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(int[]) - Method in class com.github.tommyettinger.random.LaserRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(int[]) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(int[], int, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(int[], int, int) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(long[]) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(long[]) - Method in class com.github.tommyettinger.random.LaserRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(long[]) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(long[], int, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(long[], int, int) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(short[]) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(short[]) - Method in class com.github.tommyettinger.random.LaserRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(short[]) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(short[], int, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(short[], int, int) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(List<T>) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles the given List in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(List<T>) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles the given List in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(List<T>, int, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles a section of the given List in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(List<T>, int, int) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles a section of the given List in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(T[]) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(T[]) - Method in class com.github.tommyettinger.random.LaserRandom
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(T[]) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(T[], int, int) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- shuffle(T[], int, int) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Shuffles a section of the given array in-place pseudo-randomly, using this to determine how to shuffle.
- size - Variable in class com.github.tommyettinger.random.LongSequence
- size() - Method in class com.github.tommyettinger.random.LongSequence
- skip(long) - Method in class com.github.tommyettinger.random.DistinctRandom
-
Skips the state forward or backwards by the given
advance
, then returns the result ofDistinctRandom.nextLong()
at the same point in the sequence. - skip(long) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Optional; advances or rolls back the
EnhancedRandom
' state without actually generating each number. - skip(long) - Method in class com.github.tommyettinger.random.FlowRandom
- skip(long) - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
-
Skips the state forward or backwards by the given
advance
, then returns the result ofGoldenQuasiRandom.nextLong()
at the same point in the sequence. - skip(long) - Method in class com.github.tommyettinger.random.LaserRandom
-
Advances or rolls back the
LaserRandom
' state without actually generating each number. - skip(long) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Delegates to the
EnhancedRandom.skip(long)
method if the wrapped generator, but passes it-advance
instead of advance without changes. - skip(long) - Method in class com.github.tommyettinger.random.TupleQuasiRandom
-
Skips the state forward or backwards by the given
advance
, then returns the result ofTupleQuasiRandom.nextLong()
at the same point in the sequence. - skip(long) - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
-
Skips the state forward or backwards by the given
advance
, then returns the result ofVanDerCorputQuasiRandom.nextLong()
at the same point in the sequence. - smoothWobble(int, double) - Static method in class com.github.tommyettinger.random.LineWobble
-
Sway very smoothly using bicubic interpolation between 4 points (the two integers before t and the two after), and additional processing at the last step to push results closer to the min and max valid values.
- smoothWobble(int, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
Sway very smoothly using bicubic interpolation between 4 points (the two integers before t and the two after), and additional processing at the last step to push results closer to the min and max valid values.
- smoothWobble(long, double) - Static method in class com.github.tommyettinger.random.LineWobble
-
Sway very smoothly using bicubic interpolation between 4 points (the two integers before t and the two after), and additional processing at the last step to push results closer to the min and max valid values.
- smoothWobble(long, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
Sway very smoothly using bicubic interpolation between 4 points (the two integers before t and the two after), and additional processing at the last step to push results closer to the min and max valid values.
- SpeckCipher - Class in com.github.tommyettinger.random.cipher
-
An implementation of the Speck Cipher that can encrypt and decrypt using either CBC or CTR modes.
- splobble(int, double) - Static method in class com.github.tommyettinger.random.LineWobble
-
A variant on
LineWobble.wobble(int, double)
that usesMathTools.barronSpline(double, double, double)
to interpolate between peaks/valleys, with the shape and turning point determined like the other values. - splobble(int, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
A variant on
LineWobble.wobble(int, float)
that usesMathTools.barronSpline(float, float, float)
to interpolate between peaks/valleys, with the shape and turning point determined like the other values. - splobble(long, double) - Static method in class com.github.tommyettinger.random.LineWobble
-
A variant on
LineWobble.wobble(long, double)
that usesMathTools.barronSpline(double, double, double)
to interpolate between peaks/valleys, with the shape and turning point determined like the other values. - splobble(long, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
A variant on
LineWobble.wobble(long, float)
that usesMathTools.barronSpline(float, float, float)
to interpolate between peaks/valleys, with the shape and turning point determined like the other values. - splobbleAngle(int, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
Like
LineWobble.splobble(int, float)
, this is a 1D wobble that can become more sharp or more gradual at different points on its length, but this produces a (wrapping) angle measured in radians. - splobbleAngle(long, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
Like
LineWobble.splobble(long, float)
, this is a 1D wobble that can become more sharp or more gradual at different points on its length, but this produces a (wrapping) angle measured in radians. - splobbleAngleDeg(int, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
Like
LineWobble.splobble(int, float)
, this is a 1D wobble that can become more sharp or more gradual at different points on its length, but this produces a (wrapping) angle measured in degrees. - splobbleAngleDeg(long, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
Like
LineWobble.splobble(long, float)
, this is a 1D wobble that can become more sharp or more gradual at different points on its length, but this produces a (wrapping) angle measured in degrees. - splobbleAngleTurns(int, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
Like
LineWobble.splobble(int, float)
, this is a 1D wobble that can become more sharp or more gradual at different points on its length, but this produces a (wrapping) angle measured in turns. - splobbleAngleTurns(long, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
Like
LineWobble.splobble(long, float)
, this is a 1D wobble that can become more sharp or more gradual at different points on its length, but this produces a (wrapping) angle measured in turns. - state - Variable in class com.github.tommyettinger.random.DistinctRandom
-
The only state variable; can be any
long
. - state - Variable in class com.github.tommyettinger.random.GoldenQuasiRandom
-
The only long state variable; can be any
long
. - state - Variable in class com.github.tommyettinger.random.LowChangeQuasiRandom
-
The primary state of the generator; this is what gets returned by
LowChangeQuasiRandom.nextLong()
. - state - Variable in class com.github.tommyettinger.random.TupleQuasiRandom
-
The main state variable, as a long; can be any
long
. - state - Variable in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
-
The only long state variable; can be any
long
. - stateA - Variable in class com.github.tommyettinger.random.AceRandom
-
The first state; can be any long.
- stateA - Variable in class com.github.tommyettinger.random.Bear32Random
-
The first state; can be any int.
- stateA - Variable in class com.github.tommyettinger.random.Chill32Random
-
The first state; may be any int.
- stateA - Variable in class com.github.tommyettinger.random.Choo32Random
-
The first state; can be any int.
- stateA - Variable in class com.github.tommyettinger.random.ChopRandom
-
The first state; can be any int.
- stateA - Variable in class com.github.tommyettinger.random.Crand64Random
-
The first state; can be any long.
- stateA - Variable in class com.github.tommyettinger.random.FlowRandom
-
The first state; can be any long.
- stateA - Variable in class com.github.tommyettinger.random.FourWheelRandom
-
The first state; can be any long.
- stateA - Variable in class com.github.tommyettinger.random.Jsf32Random
-
The first state; must be assigned by
Jsf32Random.setSeed(long)
to be on a known-safe cycle. - stateA - Variable in class com.github.tommyettinger.random.LaserRandom
-
Can be any long value.
- stateA - Variable in class com.github.tommyettinger.random.MizuchiRandom
-
The first state, also called the changing state; can be any long.
- stateA - Variable in class com.github.tommyettinger.random.PasarRandom
-
The first state; can be any long.
- stateA - Variable in class com.github.tommyettinger.random.PcgRXSMXSRandom
-
The first state, also called the changing state; can be any long.
- stateA - Variable in class com.github.tommyettinger.random.PouchRandom
-
The first state; can be any long, as long as states A, B, and C are not all 0.
- stateA - Variable in class com.github.tommyettinger.random.Respite32Random
-
The first state; may be any int.
- stateA - Variable in class com.github.tommyettinger.random.RomuTrioRandom
-
The first state; can be any long unless all states are 0.
- stateA - Variable in class com.github.tommyettinger.random.ScruffRandom
-
The first state; can be any odd-number long.
- stateA - Variable in class com.github.tommyettinger.random.Sfc64Random
-
The first state; can be any long.
- stateA - Variable in class com.github.tommyettinger.random.StrangerRandom
-
The first state; can be any long except 0
- stateA - Variable in class com.github.tommyettinger.random.Taxon32Random
-
The first state; can be any int.
- stateA - Variable in class com.github.tommyettinger.random.TricycleRandom
-
The first state; can be any long.
- stateA - Variable in class com.github.tommyettinger.random.TrimRandom
-
The first state; can be any long.
- stateA - Variable in class com.github.tommyettinger.random.WhiskerRandom
-
The first state; can be any long.
- stateA - Variable in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
-
The first state; can be any long, as long as all states are not 0.
- stateA - Variable in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
-
The first state; can be any int.
- stateA - Variable in class com.github.tommyettinger.random.Xoshiro256MX3Random
-
The first state; can be any long, as long as all states are not 0.
- stateA - Variable in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
-
The first state; can be any long, as long as all states are not 0.
- stateB - Variable in class com.github.tommyettinger.random.AceRandom
-
The second state; can be any long.
- stateB - Variable in class com.github.tommyettinger.random.Bear32Random
-
The second state; can be any int.
- stateB - Variable in class com.github.tommyettinger.random.Chill32Random
-
The second state; may be any int.
- stateB - Variable in class com.github.tommyettinger.random.Choo32Random
-
The second state; can be any int.
- stateB - Variable in class com.github.tommyettinger.random.ChopRandom
-
The second state; can be any int.
- stateB - Variable in class com.github.tommyettinger.random.Crand64Random
-
The second state; can be any long.
- stateB - Variable in class com.github.tommyettinger.random.FlowRandom
-
The second state; can be any long.
- stateB - Variable in class com.github.tommyettinger.random.FourWheelRandom
-
The second state; can be any long.
- stateB - Variable in class com.github.tommyettinger.random.Jsf32Random
-
The second state; must be assigned by
Jsf32Random.setSeed(long)
to be on a known-safe cycle. - stateB - Variable in class com.github.tommyettinger.random.LaserRandom
-
Must be odd.
- stateB - Variable in class com.github.tommyettinger.random.MizuchiRandom
-
The second state, also called the stream; can be any odd-number long.
- stateB - Variable in class com.github.tommyettinger.random.PasarRandom
-
The second state; can be any long.
- stateB - Variable in class com.github.tommyettinger.random.PcgRXSMXSRandom
-
The second state, also called the stream; can be any odd-number long.
- stateB - Variable in class com.github.tommyettinger.random.PouchRandom
-
The second state; can be any long, as long as states A, B, and C are not all 0.
- stateB - Variable in class com.github.tommyettinger.random.Respite32Random
-
The second state; may be any int.
- stateB - Variable in class com.github.tommyettinger.random.RomuTrioRandom
-
The second state; can be any long; can be any long unless all states are 0.
- stateB - Variable in class com.github.tommyettinger.random.ScruffRandom
-
The second state; can be any long.
- stateB - Variable in class com.github.tommyettinger.random.Sfc64Random
-
The second state; can be any long.
- stateB - Variable in class com.github.tommyettinger.random.StrangerRandom
-
The second state; can be any long except 0, and should be a significant distance from stateA in the xorshift sequence.
- stateB - Variable in class com.github.tommyettinger.random.Taxon32Random
-
The second state; can be any int.
- stateB - Variable in class com.github.tommyettinger.random.TricycleRandom
-
The second state; can be any long.
- stateB - Variable in class com.github.tommyettinger.random.TrimRandom
-
The second state; can be any long.
- stateB - Variable in class com.github.tommyettinger.random.WhiskerRandom
-
The second state; can be any long.
- stateB - Variable in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
-
The second state; can be any long, as long as all states are not 0.
- stateB - Variable in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
-
The second state; can be any int.
- stateB - Variable in class com.github.tommyettinger.random.Xoshiro256MX3Random
-
The second state; can be any long, as long as all states are not 0.
- stateB - Variable in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
-
The second state; can be any long, as long as all states are not 0.
- stateC - Variable in class com.github.tommyettinger.random.AceRandom
-
The third state; can be any long.
- stateC - Variable in class com.github.tommyettinger.random.Bear32Random
-
The third state; can be any int.
- stateC - Variable in class com.github.tommyettinger.random.Chill32Random
-
The third state; may be any int.
- stateC - Variable in class com.github.tommyettinger.random.Choo32Random
-
The third state; can be any int.
- stateC - Variable in class com.github.tommyettinger.random.ChopRandom
-
The third state; can be any int.
- stateC - Variable in class com.github.tommyettinger.random.Crand64Random
-
The third state; can be any long.
- stateC - Variable in class com.github.tommyettinger.random.FourWheelRandom
-
The third state; can be any long.
- stateC - Variable in class com.github.tommyettinger.random.Jsf32Random
-
The third state; must be assigned by
Jsf32Random.setSeed(long)
to be on a known-safe cycle. - stateC - Variable in class com.github.tommyettinger.random.PasarRandom
-
The third state; can be any long.
- stateC - Variable in class com.github.tommyettinger.random.PouchRandom
-
The third state; can be any long, as long as states A, B, and C are not all 0.
- stateC - Variable in class com.github.tommyettinger.random.Respite32Random
-
The third state; may be any int.
- stateC - Variable in class com.github.tommyettinger.random.RomuTrioRandom
-
The third state; can be any long; can be any long unless all states are 0.
- stateC - Variable in class com.github.tommyettinger.random.ScruffRandom
-
The third state; can be any long.
- stateC - Variable in class com.github.tommyettinger.random.Sfc64Random
-
The third state; can be any long.
- stateC - Variable in class com.github.tommyettinger.random.StrangerRandom
-
The third state; can be any long.
- stateC - Variable in class com.github.tommyettinger.random.TricycleRandom
-
The third state; can be any long.
- stateC - Variable in class com.github.tommyettinger.random.TrimRandom
-
The third state; can be any long.
- stateC - Variable in class com.github.tommyettinger.random.WhiskerRandom
-
The third state; can be any long.
- stateC - Variable in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
-
The third state; can be any int.
- stateC - Variable in class com.github.tommyettinger.random.Xoshiro256MX3Random
-
The third state; can be any long, as long as all states are not 0.
- stateC - Variable in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
-
The third state; can be any long, as long as all states are not 0.
- stateD - Variable in class com.github.tommyettinger.random.AceRandom
-
The fourth state; can be any long.
- stateD - Variable in class com.github.tommyettinger.random.Bear32Random
-
The fourth state; can be any int.
- stateD - Variable in class com.github.tommyettinger.random.Choo32Random
-
The fourth state; can be any int.
- stateD - Variable in class com.github.tommyettinger.random.ChopRandom
-
The fourth state; can be any int.
- stateD - Variable in class com.github.tommyettinger.random.Crand64Random
-
The fourth state; can be any long.
- stateD - Variable in class com.github.tommyettinger.random.FourWheelRandom
-
The fourth state; can be any long.
- stateD - Variable in class com.github.tommyettinger.random.Jsf32Random
-
The fourth state; must be assigned by
Jsf32Random.setSeed(long)
to be on a known-safe cycle. - stateD - Variable in class com.github.tommyettinger.random.PasarRandom
-
The fourth state; can be any long.
- stateD - Variable in class com.github.tommyettinger.random.PouchRandom
-
The fourth state; can be any odd-number long.
- stateD - Variable in class com.github.tommyettinger.random.ScruffRandom
-
The fourth state; can be any long.
- stateD - Variable in class com.github.tommyettinger.random.Sfc64Random
-
The fourth state; can be any long.
- stateD - Variable in class com.github.tommyettinger.random.StrangerRandom
-
The fourth state; can be any long.
- stateD - Variable in class com.github.tommyettinger.random.TrimRandom
-
The fourth state; can be any long.
- stateD - Variable in class com.github.tommyettinger.random.WhiskerRandom
-
The fourth state; can be any long.
- stateD - Variable in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
-
The fourth state; can be any int.
- stateD - Variable in class com.github.tommyettinger.random.Xoshiro256MX3Random
-
The fourth state; can be any long, as long as all states are not 0.
- stateD - Variable in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
-
The fourth state; can be any long, as long as all states are not 0.
- stateE - Variable in class com.github.tommyettinger.random.AceRandom
-
The fifth state; can be any long.
- stateE - Variable in class com.github.tommyettinger.random.Crand64Random
-
The fifth state; must be an odd number, but otherwise can be any long.
- stateE - Variable in class com.github.tommyettinger.random.PasarRandom
-
The fifth state; can be any long.
- StrangerRandom - Class in com.github.tommyettinger.random
-
A random number generator that acts as a counterpart to
WhiskerRandom
by guaranteeing a slightly longer period and potentially being faster in some situations because it uses no multiplication. - StrangerRandom() - Constructor for class com.github.tommyettinger.random.StrangerRandom
-
Creates a new StrangerRandom with a random state.
- StrangerRandom(long) - Constructor for class com.github.tommyettinger.random.StrangerRandom
-
Creates a new StrangerRandom with the given seed; all
long
values are permitted. - StrangerRandom(long, long, long, long) - Constructor for class com.github.tommyettinger.random.StrangerRandom
-
Creates a new StrangerRandom with the given four states; all
long
values are permitted. - stringDeserialize(String) - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Given a String in the format produced by
Distribution.stringSerialize()
, this will attempt to set this Distribution object to match the state in the serialized data. - stringDeserialize(String) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Given a String in the format produced by
EnhancedRandom.stringSerialize()
, this will attempt to set this EnhancedRandom object to match the state in the serialized data. - stringDeserialize(String) - Method in class com.github.tommyettinger.random.LongSequence
- stringDeserialize(String, Base) - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Given a String in the format produced by
ArchivalWrapper.stringSerialize(Base)
, and the sameBase
used by the serialization, this will attempt to set this EnhancedRandom object to match the state in the serialized data. - stringDeserialize(String, Base) - Method in class com.github.tommyettinger.random.DistributedRandom
- stringDeserialize(String, Base) - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Given a String in the format produced by
Distribution.stringSerialize(Base)
, and the sameBase
used by the serialization, this will attempt to set this Distribution object to match the state in the serialized data. - stringDeserialize(String, Base) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Given a String in the format produced by
EnhancedRandom.stringSerialize(Base)
, and the sameBase
used by the serialization, this will attempt to set this EnhancedRandom object to match the state in the serialized data. - stringDeserialize(String, Base) - Method in class com.github.tommyettinger.random.InterpolatedRandom
- stringDeserialize(String, Base) - Method in class com.github.tommyettinger.random.KnownSequenceRandom
-
Given a String in the format produced by
KnownSequenceRandom.stringSerialize(Base)
, and the sameBase
used by the serialization, this will attempt to set this EnhancedRandom object to match the state in the serialized data. - stringDeserialize(String, Base) - Method in class com.github.tommyettinger.random.LongSequence
- stringDeserialize(String, Base) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Given a String in the format produced by
ReverseWrapper.stringSerialize(Base)
, and the sameBase
used by the serialization, this will attempt to set this EnhancedRandom object to match the state in the serialized data. - stringSerialize() - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Serializes the current state of this Distribution to a String that can be used by
Distribution.stringDeserialize(String)
to load this state at another time. - stringSerialize() - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Serializes the current state of this EnhancedRandom to a String that can be used by
EnhancedRandom.stringDeserialize(String)
to load this state at another time. - stringSerialize() - Method in class com.github.tommyettinger.random.LongSequence
- stringSerialize(Base) - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Serializes the current state of this EnhancedRandom to a String that can be used by
EnhancedRandom.stringDeserialize(String)
to load this state at another time. - stringSerialize(Base) - Method in class com.github.tommyettinger.random.DistributedRandom
- stringSerialize(Base) - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Serializes the current generator and parameters of this Distribution to a String that can be used by
Distribution.stringDeserialize(String)
to load this Distribution at another time. - stringSerialize(Base) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
Serializes the current state of this EnhancedRandom to a String that can be used by
EnhancedRandom.stringDeserialize(String)
to load this state at another time. - stringSerialize(Base) - Method in class com.github.tommyettinger.random.InterpolatedRandom
- stringSerialize(Base) - Method in class com.github.tommyettinger.random.KnownSequenceRandom
-
Serializes the current state of this EnhancedRandom to a String that can be used by
EnhancedRandom.stringDeserialize(String)
to load this state at another time. - stringSerialize(Base) - Method in class com.github.tommyettinger.random.LongSequence
- stringSerialize(Base) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Serializes the current state of this EnhancedRandom to a String that can be used by
EnhancedRandom.stringDeserialize(String)
to load this state at another time. - StudentsTDistribution - Class in com.github.tommyettinger.random.distribution
-
A one-parameter distribution with range from negative infinity to positive infinity.
- StudentsTDistribution() - Constructor for class com.github.tommyettinger.random.distribution.StudentsTDistribution
-
Uses an
AceRandom
, nu = 1.0 . - StudentsTDistribution(double) - Constructor for class com.github.tommyettinger.random.distribution.StudentsTDistribution
-
Uses an
AceRandom
and the given nu. - StudentsTDistribution(EnhancedRandom, double) - Constructor for class com.github.tommyettinger.random.distribution.StudentsTDistribution
-
Uses the given EnhancedRandom directly.
T
- Taxon32Random - Class in com.github.tommyettinger.random
-
A random number generator that is optimized for performance on 32-bit machines and with Google Web Toolkit, this uses only the most portable operations (including compatibility with JS), and has a period of exactly 2 to the 64.
- Taxon32Random() - Constructor for class com.github.tommyettinger.random.Taxon32Random
-
Creates a new Taxon32Random with a random state.
- Taxon32Random(int, int) - Constructor for class com.github.tommyettinger.random.Taxon32Random
-
Creates a new Taxon32Random with the given two states; all
int
values are permitted. - Taxon32Random(long) - Constructor for class com.github.tommyettinger.random.Taxon32Random
-
Creates a new Taxon32Random with the given seed; all
long
values are permitted. - toString() - Method in class com.github.tommyettinger.random.AceRandom
- toString() - Method in class com.github.tommyettinger.random.ArchivalWrapper
- toString() - Method in class com.github.tommyettinger.random.Bear32Random
- toString() - Method in class com.github.tommyettinger.random.Chill32Random
- toString() - Method in class com.github.tommyettinger.random.Choo32Random
- toString() - Method in class com.github.tommyettinger.random.ChopRandom
- toString() - Method in class com.github.tommyettinger.random.Crand64Random
- toString() - Method in class com.github.tommyettinger.random.DistinctRandom
- toString() - Method in class com.github.tommyettinger.random.DistributedRandom
- toString() - Method in class com.github.tommyettinger.random.distribution.Distribution
- toString() - Method in class com.github.tommyettinger.random.FlowRandom
- toString() - Method in class com.github.tommyettinger.random.FourWheelRandom
- toString() - Method in class com.github.tommyettinger.random.GoldenQuasiRandom
- toString() - Method in class com.github.tommyettinger.random.InterpolatedRandom
- toString() - Method in class com.github.tommyettinger.random.Jsf32Random
- toString() - Method in class com.github.tommyettinger.random.KnownSequenceRandom
- toString() - Method in class com.github.tommyettinger.random.LaserRandom
-
This String conversion uses base-10 numbers for the states, unlike all other EnhancedRandom implementations, which use base-16.
- toString() - Method in class com.github.tommyettinger.random.LongSequence
- toString() - Method in class com.github.tommyettinger.random.LowChangeQuasiRandom
- toString() - Method in class com.github.tommyettinger.random.MizuchiRandom
- toString() - Method in class com.github.tommyettinger.random.PasarRandom
- toString() - Method in class com.github.tommyettinger.random.PcgRXSMXSRandom
- toString() - Method in class com.github.tommyettinger.random.PouchRandom
- toString() - Method in class com.github.tommyettinger.random.Respite32Random
- toString() - Method in class com.github.tommyettinger.random.ReverseWrapper
- toString() - Method in class com.github.tommyettinger.random.RomuTrioRandom
- toString() - Method in class com.github.tommyettinger.random.ScruffRandom
- toString() - Method in class com.github.tommyettinger.random.Sfc64Random
- toString() - Method in class com.github.tommyettinger.random.StrangerRandom
- toString() - Method in class com.github.tommyettinger.random.Taxon32Random
- toString() - Method in class com.github.tommyettinger.random.TricycleRandom
- toString() - Method in class com.github.tommyettinger.random.TrimRandom
- toString() - Method in class com.github.tommyettinger.random.TupleQuasiRandom
- toString() - Method in class com.github.tommyettinger.random.VanDerCorputQuasiRandom
- toString() - Method in class com.github.tommyettinger.random.WhiskerRandom
- toString() - Method in class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
- toString() - Method in class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
- toString() - Method in class com.github.tommyettinger.random.Xoshiro256MX3Random
- toString() - Method in class com.github.tommyettinger.random.Xoshiro256StarStarRandom
- TriangularDistribution - Class in com.github.tommyettinger.random.distribution
-
A three-parameter distribution with range from between the first two parameters, alpha inclusive, beta inclusive.
- TriangularDistribution() - Constructor for class com.github.tommyettinger.random.distribution.TriangularDistribution
-
Uses an
AceRandom
, alpha = 0.0, beta = 1.0, gamma = 0.5 . - TriangularDistribution(double, double, double) - Constructor for class com.github.tommyettinger.random.distribution.TriangularDistribution
-
Uses an
AceRandom
and the given alpha, beta, and gamma. - TriangularDistribution(EnhancedRandom, double, double, double) - Constructor for class com.github.tommyettinger.random.distribution.TriangularDistribution
-
Uses the given EnhancedRandom directly.
- TricycleRandom - Class in com.github.tommyettinger.random
-
An unusual RNG that's extremely fast on HotSpot JDK 16 and higher, and still fairly fast on earlier JDKs.
- TricycleRandom() - Constructor for class com.github.tommyettinger.random.TricycleRandom
-
Creates a new TricycleRandom with a random state.
- TricycleRandom(long) - Constructor for class com.github.tommyettinger.random.TricycleRandom
-
Creates a new TricycleRandom with the given seed; all
long
values are permitted. - TricycleRandom(long, long, long) - Constructor for class com.github.tommyettinger.random.TricycleRandom
-
Creates a new TricycleRandom with the given three states; all
long
values are permitted. - TrimRandom - Class in com.github.tommyettinger.random
-
A random number generator that is very fast on Java 16+, has both a very large probable period and a large guaranteed minimum period, and uses only add, bitwise-rotate, and XOR operations (no multiplication).
- TrimRandom() - Constructor for class com.github.tommyettinger.random.TrimRandom
-
Creates a new TrimRandom with a random state.
- TrimRandom(long) - Constructor for class com.github.tommyettinger.random.TrimRandom
-
Creates a new TrimRandom with the given seed; all
long
values are permitted. - TrimRandom(long, long, long, long) - Constructor for class com.github.tommyettinger.random.TrimRandom
-
Creates a new TrimRandom with the given four states; all
long
values are permitted. - trobble(int, double) - Static method in class com.github.tommyettinger.random.LineWobble
-
Trigonometric wobble.
- trobble(int, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
Trigonometric wobble.
- trobble(long, double) - Static method in class com.github.tommyettinger.random.LineWobble
-
Trigonometric wobble.
- trobble(long, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
Trigonometric wobble.
- TupleQuasiRandom - Class in com.github.tommyettinger.random
-
Not actually a pseudo-random number generator, but a quasi-random number generator, this is a fairly simple way to produce values that have some advantages of quasi-random numbers, but works better in some cases than
GoldenQuasiRandom
. - TupleQuasiRandom() - Constructor for class com.github.tommyettinger.random.TupleQuasiRandom
-
Creates a new GoldenQuasiRandom with a random state.
- TupleQuasiRandom(long) - Constructor for class com.github.tommyettinger.random.TupleQuasiRandom
-
Creates a new GoldenQuasiRandom with the given state; all
long
values are permitted.
V
- valueOf(String) - Static method in enum class com.github.tommyettinger.random.DistributedRandom.ReductionMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.github.tommyettinger.random.DistributedRandom.ReductionMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VanDerCorputQuasiRandom - Class in com.github.tommyettinger.random
-
Not actually a pseudo-random number generator, but a quasi-random number generator, this is a simple way to produce random-seeming numbers with a high distance between one number and the next.
- VanDerCorputQuasiRandom() - Constructor for class com.github.tommyettinger.random.VanDerCorputQuasiRandom
-
Creates a new VanDerCorputQuasiRandom with a random state.
- VanDerCorputQuasiRandom(long) - Constructor for class com.github.tommyettinger.random.VanDerCorputQuasiRandom
-
Creates a new VanDerCorputQuasiRandom with the given state; all
long
values are permitted.
W
- WeibullDistribution - Class in com.github.tommyettinger.random.distribution
-
A two-parameter distribution with range from 0 (inclusive) to positive infinity.
- WeibullDistribution() - Constructor for class com.github.tommyettinger.random.distribution.WeibullDistribution
-
Uses an
AceRandom
, alpha = 1.0, lambda = 1.0 . - WeibullDistribution(double, double) - Constructor for class com.github.tommyettinger.random.distribution.WeibullDistribution
-
Uses an
AceRandom
and the given alpha and lambda. - WeibullDistribution(EnhancedRandom, double, double) - Constructor for class com.github.tommyettinger.random.distribution.WeibullDistribution
-
Uses the given EnhancedRandom directly.
- WhiskerRandom - Class in com.github.tommyettinger.random
-
The second-fastest generator here on recent JDKs, with a huge probable period but no minimum period guarantee.
- WhiskerRandom() - Constructor for class com.github.tommyettinger.random.WhiskerRandom
-
Creates a new WhiskerRandom with a random state.
- WhiskerRandom(long) - Constructor for class com.github.tommyettinger.random.WhiskerRandom
-
Creates a new WhiskerRandom with the given seed; all
long
values are permitted. - WhiskerRandom(long, long, long, long) - Constructor for class com.github.tommyettinger.random.WhiskerRandom
-
Creates a new WhiskerRandom with the given four states; all
long
values are permitted. - with(long) - Static method in class com.github.tommyettinger.random.LongSequence
- with(long...) - Static method in class com.github.tommyettinger.random.LongSequence
- wobble(int, double) - Static method in class com.github.tommyettinger.random.LineWobble
-
A variant on
LineWobble.wobble(long, double)
that takes an int seed instead of a long, and is optimized for usage on GWT. - wobble(int, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
A variant on
LineWobble.wobble(long, float)
that takes an int seed instead of a long, and is optimized for usage on GWT. - wobble(long, double) - Static method in class com.github.tommyettinger.random.LineWobble
-
A mix of the smooth transitions of a sine wave with (seeded) random peaks and valleys between -1.0 and 1.0 (both exclusive).
- wobble(long, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
A mix of the smooth transitions of a sine wave with (seeded) random peaks and valleys between -1f and 1f (both exclusive).
- wobbleAngle(int, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
A 1D "noise" method that produces smooth transitions like a sine wave, but also wrapping around at pi * 2 so this can be used to get smoothly-changing random angles.
- wobbleAngle(long, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
A 1D "noise" method that produces smooth transitions like a sine wave, but also wrapping around at pi * 2 so this can be used to get smoothly-changing random angles.
- wobbleAngleDeg(int, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
A 1D "noise" method that produces smooth transitions like a sine wave, but also wrapping around at 360.0 so this can be used to get smoothly-changing random angles.
- wobbleAngleDeg(long, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
A 1D "noise" method that produces smooth transitions like a sine wave, but also wrapping around at 360.0 so this can be used to get smoothly-changing random angles.
- wobbleAngleTurns(int, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
A 1D "noise" method that produces smooth transitions like a sine wave, but also wrapping around at 1.0 so this can be used to get smoothly-changing random angles in turns.
- wobbleAngleTurns(long, float) - Static method in class com.github.tommyettinger.random.LineWobble
-
A 1D "noise" method that produces smooth transitions like a sine wave, but also wrapping around at 1.0 so this can be used to get smoothly-changing random angles in turns.
- wobbleWrapped(int, float, int) - Static method in class com.github.tommyettinger.random.LineWobble
-
Very similar to
LineWobble.wobble(int, float)
, but only tolerates non-negativevalue
and wraps value when it gets too close tomodulus
. - wobbleWrapped(long, float, int) - Static method in class com.github.tommyettinger.random.LineWobble
-
Very similar to
LineWobble.wobble(long, float)
, but only tolerates non-negativevalue
and wraps value when it gets too close tomodulus
. - wobbleWrappedTight(int, float, int) - Static method in class com.github.tommyettinger.random.LineWobble
-
Very similar to
LineWobble.wobble(int, float)
, but only tolerates non-negativevalue
and wraps value when it gets too close tomodulus
. - wobbleWrappedTight(long, float, int) - Static method in class com.github.tommyettinger.random.LineWobble
-
Very similar to
LineWobble.wobble(long, float)
, but only tolerates non-negativevalue
and wraps value when it gets too close tomodulus
. - wrapped - Variable in class com.github.tommyettinger.random.ArchivalWrapper
- wrapped - Variable in class com.github.tommyettinger.random.ReverseWrapper
- writeExternal(ObjectOutput) - Method in class com.github.tommyettinger.random.ArchivalWrapper
-
Needs
LongSequence
registered, as well as the type ofArchivalWrapper.wrapped
registered. - writeExternal(ObjectOutput) - Method in class com.github.tommyettinger.random.DistributedRandom
-
Needs the type of
DistributedRandom.distribution
registered. - writeExternal(ObjectOutput) - Method in class com.github.tommyettinger.random.distribution.Distribution
-
Needs the type of
Distribution.generator
registered. - writeExternal(ObjectOutput) - Method in class com.github.tommyettinger.random.EnhancedRandom
-
The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
- writeExternal(ObjectOutput) - Method in class com.github.tommyettinger.random.InterpolatedRandom
-
Needs the type of
InterpolatedRandom.random
registered. - writeExternal(ObjectOutput) - Method in class com.github.tommyettinger.random.KnownSequenceRandom
-
The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
- writeExternal(ObjectOutput) - Method in class com.github.tommyettinger.random.LongSequence
-
The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
- writeExternal(ObjectOutput) - Method in class com.github.tommyettinger.random.ReverseWrapper
-
Needs the type of
ReverseWrapper.wrapped
registered.
X
- Xoroshiro128StarStarRandom - Class in com.github.tommyettinger.random
-
A random number generator that is fairly fast and guarantees 2-dimensional equidistribution (with the exception of the pair with two zeroes in a row, every pair of long results is produced exactly once over the period).
- Xoroshiro128StarStarRandom() - Constructor for class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
-
Creates a new Xoroshiro128StarStarRandom with a random state.
- Xoroshiro128StarStarRandom(long) - Constructor for class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
-
Creates a new Xoroshiro128StarStarRandom with the given seed; all
long
values are permitted. - Xoroshiro128StarStarRandom(long, long) - Constructor for class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
-
Creates a new Xoroshiro128StarStarRandom with the given two states; all
long
values are permitted. - Xoshiro128PlusPlusRandom - Class in com.github.tommyettinger.random
-
A random number generator that is optimized for performance on 32-bit machines and with Google Web Toolkit, this uses no multiplication and is identical to the published xoshiro128++ algorithm when generating
int
values. - Xoshiro128PlusPlusRandom() - Constructor for class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
-
Creates a new Xoshiro128PlusPlusRandom with a random state.
- Xoshiro128PlusPlusRandom(int, int, int, int) - Constructor for class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
-
Creates a new Xoshiro128PlusPlusRandom with the given four states; all
int
values are permitted. - Xoshiro128PlusPlusRandom(long) - Constructor for class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
-
Creates a new Xoshiro128PlusPlusRandom with the given seed; all
long
values are permitted. - Xoshiro256MX3Random - Class in com.github.tommyettinger.random
-
A random number generator that guarantees 4-dimensional equidistribution (except for the quartet with four zeroes in a row, every quartet of long results is produced exactly once over the period).
- Xoshiro256MX3Random() - Constructor for class com.github.tommyettinger.random.Xoshiro256MX3Random
-
Creates a new Xoshiro256MX3Random with a random state.
- Xoshiro256MX3Random(long) - Constructor for class com.github.tommyettinger.random.Xoshiro256MX3Random
-
Creates a new Xoshiro256MX3Random with the given seed; all
long
values are permitted. - Xoshiro256MX3Random(long, long, long, long) - Constructor for class com.github.tommyettinger.random.Xoshiro256MX3Random
-
Creates a new Xoshiro256MX3Random with the given four states; all
long
values are permitted. - Xoshiro256StarStarRandom - Class in com.github.tommyettinger.random
-
A random number generator that is fairly fast and guarantees 4-dimensional equidistribution (except for the quartet with four zeroes in a row, every quartet of long results is produced exactly once over the period).
- Xoshiro256StarStarRandom() - Constructor for class com.github.tommyettinger.random.Xoshiro256StarStarRandom
-
Creates a new Xoshiro256StarStarRandom with a random state.
- Xoshiro256StarStarRandom(long) - Constructor for class com.github.tommyettinger.random.Xoshiro256StarStarRandom
-
Creates a new Xoshiro256StarStarRandom with the given seed; all
long
values are permitted. - Xoshiro256StarStarRandom(long, long, long, long) - Constructor for class com.github.tommyettinger.random.Xoshiro256StarStarRandom
-
Creates a new Xoshiro256StarStarRandom with the given four states; all
long
values are permitted.
Z
- Ziggurat - Class in com.github.tommyettinger.random
-
An implementation of the Ziggurat method for generating normal-distributed random values.
- ZipfianDistribution - Class in com.github.tommyettinger.random.distribution
-
A discrete two-parameter distribution with range from integer 1 to
alpha
. - ZipfianDistribution() - Constructor for class com.github.tommyettinger.random.distribution.ZipfianDistribution
-
Uses an
AceRandom
, alpha = 16, skew = 0.5 . - ZipfianDistribution(long, double) - Constructor for class com.github.tommyettinger.random.distribution.ZipfianDistribution
-
Uses an
AceRandom
and the given alpha and skew. - ZipfianDistribution(EnhancedRandom, long, double) - Constructor for class com.github.tommyettinger.random.distribution.ZipfianDistribution
-
Uses the given EnhancedRandom directly.
- ZipfianDistribution(EnhancedRandom, long, double, double) - Constructor for class com.github.tommyettinger.random.distribution.ZipfianDistribution
-
Uses the given EnhancedRandom directly.
All Classes and Interfaces|All Packages|Serialized Form