Package com.mysema.commons.lang
Class EmptyCloseableIterator<T>
java.lang.Object
com.mysema.commons.lang.EmptyCloseableIterator<T>
- All Implemented Interfaces:
CloseableIterator<T>
,Closeable
,AutoCloseable
,Iterator<T>
Empty implementation of the CloseableIterator interface
-
Constructor Details
-
EmptyCloseableIterator
public EmptyCloseableIterator()
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove() -
close
public void close()Description copied from interface:CloseableIterator
Closes this iterator and releases any system resources associated with it. If the iterator is already closed then invoking this method has no effect.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceCloseableIterator<T>
-