Serialized Form
-
Package com.github.tommyettinger.random
-
Class com.github.tommyettinger.random.AceRandom
class AceRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.ArchivalWrapper
class ArchivalWrapper extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
NeedsLongSequence
registered, as well as the type ofArchivalWrapper.wrapped
registered.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Either null, or LongSequence archive; LongSequence should be registered
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.Bear32Random
class Bear32Random extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.Chill32Random
class Chill32Random extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.Choo32Random
class Choo32Random extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.ChopRandom
class ChopRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.Crand64Random
class Crand64Random extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.DistinctRandom
class DistinctRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.DistributedRandom
class DistributedRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
Needs the type ofDistributedRandom.distribution
registered.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.EnhancedRandom
class EnhancedRandom extends Random implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.FlowRandom
class FlowRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.FourWheelRandom
class FourWheelRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.GoldenQuasiRandom
class GoldenQuasiRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.InterpolatedRandom
class InterpolatedRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
Needs the type ofInterpolatedRandom.random
registered.- Serial Data:
- String interpolator (the
Interpolations.Interpolator.tag
of the Interpolator), then EnhancedRandom random. - Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.Jsf32Random
class Jsf32Random extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.KnownSequenceRandom
class KnownSequenceRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.LaserRandom
class LaserRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.LowChangeQuasiRandom
class LowChangeQuasiRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.MizuchiRandom
class MizuchiRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.PasarRandom
class PasarRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.PcgRXSMXSRandom
class PcgRXSMXSRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.PouchRandom
class PouchRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.Respite32Random
class Respite32Random extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.ReverseWrapper
class ReverseWrapper extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
Needs the type ofReverseWrapper.wrapped
registered.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.RomuTrioRandom
class RomuTrioRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.ScruffRandom
class ScruffRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.Sfc64Random
class Sfc64Random extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.SoloRandom
class SoloRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.StrangerRandom
class StrangerRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.Taxon32Random
class Taxon32Random extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.TricycleRandom
class TricycleRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.TrimRandom
class TrimRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.TupleQuasiRandom
class TupleQuasiRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.VanDerCorputQuasiRandom
class VanDerCorputQuasiRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.WhiskerRandom
class WhiskerRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.Xoroshiro128StarStarRandom
class Xoroshiro128StarStarRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.Xoshiro128PlusPlusRandom
class Xoshiro128PlusPlusRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.Xoshiro256MX3Random
class Xoshiro256MX3Random extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-
Class com.github.tommyettinger.random.Xoshiro256StarStarRandom
class Xoshiro256StarStarRandom extends EnhancedRandom implements Externalizable-
Serialization Methods
-
readExternal
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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the stream to read data from in order to restore the object- Throws:
IOException
- if I/O errors occurClassNotFoundException
-
writeExternal
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.- Serial Data:
- int stateCount; the number of states this EnhancedRandom has
- Repeat
stateCount
times:- long state_n; the nth state used here.
- Parameters:
out
- the stream to write the object to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
-