Interface CloseableIteratorWithoutException<T>

Type Parameters:
T - type of elements of the iterator
All Superinterfaces:
AutoCloseable, Closeable, CloseableIterator<T>, Iterator<T>
All Known Subinterfaces:
InMemoryStream<T>
All Known Implementing Classes:
ArrayBlockingStream, CloseableIteratorAdapter, CloseableIteratorAggregatorWithoutException, QueueStream, SingletonCloseableIteratorWithoutException

public interface CloseableIteratorWithoutException<T> extends CloseableIterator<T>, Iterator<T>
Represents a closeable iterator that does not throw checked exceptions.
Author:
Clément Sipieter (INRIA) <clement@6pi.fr>
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether another element is available.
    Returns the next element.

    Methods inherited from interface CloseableIterator

    close

    Methods inherited from interface Iterator

    forEachRemaining, remove