RemoteIterator<T>protected class FileSystem.DirListingIterator<T extends FileStatus> extends java.lang.Object implements RemoteIterator<T>
FileSystem.listStatusIterator(Path).| Modifier and Type | Method | Description |
|---|---|---|
boolean |
hasNext() |
Returns true if the iteration has more elements.
|
T |
next() |
Returns the next element in the iteration.
|
public boolean hasNext()
throws java.io.IOException
RemoteIteratorhasNext in interface RemoteIterator<T extends FileStatus>java.io.IOException - if any IO error occurspublic T next() throws java.io.IOException
RemoteIteratornext in interface RemoteIterator<T extends FileStatus>java.io.IOException - if any IO error occursCopyright © 2008–2025 Apache Software Foundation. All rights reserved.