Interface CloseableIteratorCollection<E>

    • Method Detail

      • iterator

        CloseableIterator<E> iterator()

        This iterator should be explicitly closed when iteration upon it is completed. Failure to do so could cause resources to not be freed properly

      • spliterator

        CloseableSpliterator<E> spliterator()

        This spliterator should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly

      • stream

        default Stream<E> stream()

        This stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly

      • parallelStream

        default Stream<E> parallelStream()

        This stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly