Class JavaUtilRNGSupplier

  • All Implemented Interfaces:
    java.io.Serializable, RNGSupplier

    public class JavaUtilRNGSupplier
    extends java.lang.Object
    implements RNGSupplier
    Supplies Java Util based RNG's, and uses an own Java.Util-Based RNG for Seed generation The default Seeds are not used in this Supplier
    Author:
    Michael Weiss
    See Also:
    Serialized Form
    • Constructor Detail

      • JavaUtilRNGSupplier

        public JavaUtilRNGSupplier()
        Takes the current timestamp as initialSeed
      • JavaUtilRNGSupplier

        public JavaUtilRNGSupplier​(long initSeed)
        Use this do define a specific initial seed, e.g. to re-run a previous setting in the same build
        Parameters:
        initSeed - The initial Seed of the SeedGenerator