Class DataObjectIteratorImpl<T extends DataObject>
java.lang.Object
de.uni_trier.wi2.procake.data.objectpool.impl.DataObjectIteratorImpl<T>
- All Implemented Interfaces:
DataObjectIterator
,Iterator
public class DataObjectIteratorImpl<T extends DataObject>
extends Object
implements DataObjectIterator
- Author:
- Rainer Maximini
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasNext()
next()
Returns the nextDataObject
in the iteration.void
remove()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
DataObjectIteratorImpl
-
DataObjectIteratorImpl
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<T extends DataObject>
-
next
- Specified by:
next
in interfaceIterator<T extends DataObject>
-
nextDataObject
Description copied from interface:DataObjectIterator
Returns the nextDataObject
in the iteration.- Specified by:
nextDataObject
in interfaceDataObjectIterator<T extends DataObject>
- Returns:
- the next
DataObject
in the iteration. - See Also:
-
remove
public void remove()- Specified by:
remove
in interfaceIterator<T extends DataObject>
-