Class PrependSpliterator<T>

java.lang.Object
one.util.streamex.PrependSpliterator<T>
Type Parameters:
T - type of the elements
All Implemented Interfaces:
Spliterator<T>, Internals.TailSpliterator<T>

class PrependSpliterator<T> extends Object implements Internals.TailSpliterator<T>
  • Field Details

    • source

      private Spliterator<T> source
    • element

      private T element
    • mode

      private int mode
  • Constructor Details

    • PrependSpliterator

      public PrependSpliterator(Spliterator<T> source, T element)
  • Method Details