final class ConcurrentLinkedDeque.CLDIterator extends java.lang.Object implements ConcurrentLinkedDeque.RemovalReportingIterator<E>
| Modifier and Type | Field and Description |
|---|---|
(package private) ConcurrentLinkedDeque.Node<E> |
last |
(package private) ConcurrentLinkedDeque.Node<E> |
next |
| Constructor and Description |
|---|
CLDIterator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
E |
next() |
void |
remove() |
boolean |
reportingRemove()
Removes from the underlying collection the last element returned by this iterator and reports whether the current element was
removed by the call.
|
ConcurrentLinkedDeque.Node<E> last
ConcurrentLinkedDeque.Node<E> next
public boolean hasNext()
hasNext in interface java.util.Iterator<E>public void remove()
remove in interface java.util.Iterator<E>public boolean reportingRemove()
ConcurrentLinkedDeque.RemovalReportingIteratorIterator.next().reportingRemove in interface ConcurrentLinkedDeque.RemovalReportingIterator<E>