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, FilterIteratorWithoutException

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

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether another element can be read from the iterator.
    Returns the next element from the iterator.

    Methods inherited from interface CloseableIterator

    close

    Methods inherited from interface Iterator

    forEachRemaining, remove