Class LinkedDeque.AbstractLinkedIterator
java.lang.Object
com.googlecode.concurrentlinkedhashmap.LinkedDeque.AbstractLinkedIterator
- All Implemented Interfaces:
Iterator<E>
- Enclosing class:
LinkedDeque<E extends Linked<E>>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractLinkedIterator
(E start) Creates an iterator that can can traverse the deque. -
Method Summary
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
-
Field Details
-
cursor
-
-
Constructor Details
-
AbstractLinkedIterator
AbstractLinkedIterator(E start) Creates an iterator that can can traverse the deque.- Parameters:
start
- the initial element to begin traversal from
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove() -
computeNext
Retrieves the next element to traverse to or null if there are no more elements.
-