BatchedRemoteIterator, FileSystem.DirListingIterator, RemoteIterators.WrappingRemoteIteratorpublic interface RemoteIterator<E>
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
hasNext() |
Returns true if the iteration has more elements.
|
E |
next() |
Returns the next element in the iteration.
|
boolean hasNext()
throws java.io.IOException
java.io.IOException - if any IO error occursE next() throws java.io.IOException
java.util.NoSuchElementException - iteration has no more elements.java.io.IOException - if any IO error occursCopyright © 2008–2025 Apache Software Foundation. All rights reserved.