org.openjena.atlas.iterator
Class IteratorBlockingQueue<T>
java.lang.Object
org.openjena.atlas.iterator.IteratorBlockingQueue<T>
- All Implemented Interfaces:
- Iterator<T>
public class IteratorBlockingQueue<T>
- extends Object
- implements Iterator<T>
Iterator over a blocking queue until queue end seen
IteratorBlockingQueue
public IteratorBlockingQueue(BlockingQueue<T> queue,
T endMarker)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<T>
next
public T next()
- Specified by:
next
in interface Iterator<T>
remove
public void remove()
- Specified by:
remove
in interface Iterator<T>
Licenced under the Apache License, Version 2.0