Class ShuffleSpliterator<T>

  • Type Parameters:
    T - the type parameter
    All Implemented Interfaces:
    Spliterator<T>

    public class ShuffleSpliterator<T>
    extends Object
    implements Spliterator<T>
    The type Shuffle spliterator.
    • Constructor Detail

      • ShuffleSpliterator

        public ShuffleSpliterator​(Spliterator<T> backing)
        Instantiates a new Shuffle spliterator.
        Parameters:
        backing - the backing
      • ShuffleSpliterator

        public ShuffleSpliterator​(@NonNull
                                  @NonNull Spliterator<T> backing,
                                  @NonNull
                                  @NonNull Random random)
        Instantiates a new Shuffle spliterator.
        Parameters:
        backing - the backing