Class RandomFactoryOld

    • Constructor Detail

      • RandomFactoryOld

        public RandomFactoryOld()
        Deprecated.
    • Method Detail

      • getSeed

        protected long getSeed​(String name,
                               @Nullable
                               Consumer<String> warningReceiver)
        Deprecated.
        Description copied from class: RandomFactory
        Compute a (hopefully unique) seed which only depends on 'name' and this RandomFactory's seed.
        Overrides:
        getSeed in class RandomFactory
        warningReceiver - used to issue a warning message in case of a hash collision
      • setSeed

        public void setSeed​(long seed)
        Deprecated.
        Description copied from class: RandomFactory
        Sets the seed that is used to initialize all random number streams.
        Overrides:
        setSeed in class RandomFactory
        Parameters:
        seed - The seed to use.