Element - The type of the elements on the Stack.public final class StackIterator<Element> extends AbstractBaseIterator<Element>
Iterator iterating the elements of a Stack.| Constructor and Description |
|---|
StackIterator(Stack<Element> stack) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Element |
next() |
equals, hashCode, remove