Class SpliteratorIterator<T>

java.lang.Object
fr.gouv.vitam.common.iterables.SpliteratorIterator<T>
All Implemented Interfaces:
Iterator<T>

public class SpliteratorIterator<T> extends Object implements Iterator<T>
Spliterator to Iterator Adapter. Not thread safe.
  • Constructor Details

    • SpliteratorIterator

      public SpliteratorIterator(Spliterator<T> spliterator)
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<T>
    • next

      public T next()
      Specified by:
      next in interface Iterator<T>