Class DirectSplittableRandomAdapter

    • Field Detail

      • delegate

        protected transient volatile java8.util.SplittableRandom delegate
        The master SplittableRandom that will either be delegated to directly (see SingleThreadSplittableRandomAdapter or be split using SplittableRandom.split() (see SplittableRandomAdapter) and have the splits delegated to.
    • Constructor Detail

      • DirectSplittableRandomAdapter

        protected DirectSplittableRandomAdapter​(byte[] seed)
        Wraps a SplittableRandom with the specified seed.
        Parameters:
        seed - 8 bytes of seed data used to initialize the RNG.
      • DirectSplittableRandomAdapter

        protected DirectSplittableRandomAdapter​(long seed)
        Wraps a SplittableRandom with the specified seed.
        Parameters:
        seed - the seed.