public class EmptyCloseableIterator<T> extends java.lang.Object implements CloseableIterator<T>
| Constructor and Description |
|---|
EmptyCloseableIterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this iterator and releases any system resources associated
with it.
|
boolean |
hasNext() |
T |
next() |
void |
remove() |
public boolean hasNext()
hasNext in interface java.util.Iterator<T>public void remove()
remove in interface java.util.Iterator<T>public void close()
CloseableIteratorclose in interface CloseableIterator<T>close in interface java.io.Closeableclose in interface java.lang.AutoCloseable