Class AbstractCloseableIterator<E>
- java.lang.Object
- 
- org.eclipse.net4j.util.collection.AbstractIterator<E>
- 
- org.eclipse.net4j.util.collection.AbstractCloseableIterator<E>
 
 
- 
- All Implemented Interfaces:
- java.util.Iterator<E>,- Closeable,- CloseableIterator<E>
 
 public abstract class AbstractCloseableIterator<E> extends AbstractIterator<E> implements CloseableIterator<E> - Since:
- 3.7
- Author:
- Eike Stepper
 
- 
- 
Field Summary- 
Fields inherited from class org.eclipse.net4j.util.collection.AbstractIteratorEND_OF_DATA
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractCloseableIterator()
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidclose()protected abstract java.lang.ObjectcomputeNextElement()Returns the next iteration element, orAbstractIterator.END_OF_DATAif the end of the iteration has been reached.static <T> CloseableIterator<T>emptyCloseable()abstract booleanisClosed()- 
Methods inherited from class org.eclipse.net4j.util.collection.AbstractIteratorempty, hasNext, next, remove
 
- 
 
- 
- 
- 
Method Detail- 
computeNextElementprotected abstract java.lang.Object computeNextElement() Description copied from class:AbstractIteratorReturns the next iteration element, orAbstractIterator.END_OF_DATAif the end of the iteration has been reached.- Specified by:
- computeNextElementin class- AbstractIterator<E>
 
 - 
emptyCloseablepublic static <T> CloseableIterator<T> emptyCloseable() 
 
- 
 
-