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
Iterator variant that does not throw checked exceptions.
- Author:
- Clément Sipieter (INRIA) <clement@6pi.fr>
-
Method Summary
Methods inherited from interface CloseableIterator
closeMethods inherited from interface Iterator
forEachRemaining, remove
-
Method Details
-
hasNext
boolean hasNext()Description copied from interface:CloseableIteratorIndicates whether another element can be read from the iterator. -
next
T next()Description copied from interface:CloseableIteratorReturns the next element from the iterator.
-