Interface CloseableListIterator<T>

  • Type Parameters:
    T -
    All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable, java.util.Iterator<T>, java.util.ListIterator<T>
    All Known Implementing Classes:
    LazyList.LazyIterator

    public interface CloseableListIterator<T>
    extends java.util.ListIterator<T>, java.io.Closeable
    A list iterator that needs to be closed (or the associated list) to free underlying resources like a database cursor. Typically used with LazyList.
    • Method Summary

      • Methods inherited from interface java.io.Closeable

        close
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
      • Methods inherited from interface java.util.ListIterator

        add, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, set