Serialized Form

  • Package com.github.tommyettinger.random

    • Class com.github.tommyettinger.random.AceRandom

      class AceRandom extends EnhancedRandom implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs LongSequence registered, as well as the type of ArchivalWrapper.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; written with LongSequence.writeExternal(ObjectOutput).
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of DistributedRandom.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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of InterpolatedRandom.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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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.LongSequence

      class LongSequence extends Object implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException
          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 occur
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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 number of items, then that many long items
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of ReverseWrapper.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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          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
  • Package com.github.tommyettinger.random.distribution

    • Class com.github.tommyettinger.random.distribution.ArcsineDistribution

      class ArcsineDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.BernoulliDistribution

      class BernoulliDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.BetaDistribution

      class BetaDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.BetaPrimeDistribution

      class BetaPrimeDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.BinomialDistribution

      class BinomialDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.CauchyDistribution

      class CauchyDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.ChiDistribution

      class ChiDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.ChiSquareDistribution

      class ChiSquareDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.ContinuousUniformDistribution

      class ContinuousUniformDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.DiscreteUniformDistribution

      class DiscreteUniformDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.Distribution

      class Distribution extends Object implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.ErlangDistribution

      class ErlangDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.ExponentialDistribution

      class ExponentialDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.FisherSnedecorDistribution

      class FisherSnedecorDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.FisherTippettDistribution

      class FisherTippettDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.GammaDistribution

      class GammaDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.GeometricDistribution

      class GeometricDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.KnobDistribution

      class KnobDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.KumaraswamyDistribution

      class KumaraswamyDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.LaplaceDistribution

      class LaplaceDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.LogCauchyDistribution

      class LogCauchyDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.LogisticDistribution

      class LogisticDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.LogNormalDistribution

      class LogNormalDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.LumpDistribution

      class LumpDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.NormalDistribution

      class NormalDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.ParetoDistribution

      class ParetoDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.PoissonDistribution

      class PoissonDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.PowerDistribution

      class PowerDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.RayleighDistribution

      class RayleighDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.StudentsTDistribution

      class StudentsTDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.TriangularDistribution

      class TriangularDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.WeibullDistribution

      class WeibullDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur
    • Class com.github.tommyettinger.random.distribution.ZipfianDistribution

      class ZipfianDistribution extends Distribution implements Externalizable
      • Serialization Methods

        • readExternal
          public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
          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 occur
          ClassNotFoundException - If the class for an object being restored cannot be found.
        • writeExternal
          public void writeExternal(ObjectOutput out) throws IOException
          Needs the type of Distribution.generator registered.
          Serial Data:
          Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
          Parameters:
          out - the stream to write the object to
          Throws:
          IOException - Includes any I/O exceptions that may occur