Interface ReIterator<T>

All Superinterfaces:
Iterator<T>

public interface ReIterator<T> extends Iterator<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    static <Z> ReIterator<Z>
     
    long
    Resets the iterator to its initial position and returns the size of the underlying data collection

    Methods inherited from interface java.util.Iterator

    forEachRemaining, hasNext, next, remove
  • Method Details

    • emptyIterator

      static <Z> ReIterator<Z> emptyIterator()
    • reset

      long reset()

      Resets the iterator to its initial position and returns the size of the underlying data collection

      Returns:
      size of the underlying data