Package org.eclipse.emf.cdo.common.util
Class CDOQueryQueue.BlockingCloseableIteratorImpl
java.lang.Object
org.eclipse.emf.cdo.common.util.CDOQueryQueue.BlockingCloseableIteratorImpl
- All Implemented Interfaces:
Iterator<E>
,BlockingCloseableIterator<E>
,org.eclipse.net4j.util.collection.Closeable
,org.eclipse.net4j.util.collection.CloseableIterator<E>
- Enclosing class:
- CDOQueryQueue<E>
public class CDOQueryQueue.BlockingCloseableIteratorImpl
extends Object
implements BlockingCloseableIterator<E>
A blocking iterator that takes elements from a
CDOQueryQueue
.- Since:
- 2.0
- Author:
- Simon McDuff
-
Constructor Details
-
BlockingCloseableIteratorImpl
public BlockingCloseableIteratorImpl()
-
-
Method Details
-
peek
Description copied from interface:BlockingCloseableIterator
Non-blocking call.- Specified by:
peek
in interfaceBlockingCloseableIterator<E>
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove() -
close
public void close()- Specified by:
close
in interfaceorg.eclipse.net4j.util.collection.Closeable
-
isClosed
public boolean isClosed()- Specified by:
isClosed
in interfaceorg.eclipse.net4j.util.collection.Closeable
-