abstract class LinkedDeque.AbstractLinkedIterator
extends Object
implements Iterator<E>
Constructor and Description |
---|
AbstractLinkedIterator(E start)
Creates an iterator that can can traverse the deque.
|
Modifier and Type | Method and Description |
---|---|
(package private) abstract E |
computeNext()
Retrieves the next element to traverse to or null if there are
no more elements.
|
boolean |
hasNext() |
E |
next() |
void |
remove() |
AbstractLinkedIterator(E start)
start
- the initial element to begin traversal fromabstract E computeNext()
Copyright © 2010-2020 Toolsverse. All Rights Reserved.