Package fr.gouv.vitam.common.iterables

# 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 Summary

  Constructors
  Constructor
  Description
  `SpliteratorIterator(Spliterator<T> spliterator)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `hasNext()`
  `T`
  `next()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface java.util.Iterator

  `forEachRemaining, remove`

- ## 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>`