public class LinkedListNodeIterator<T> extends Object implements Iterator<LinkedListNode<T>>
| Modifier and Type | Field and Description |
|---|---|
protected LinkedListNode<T> |
current |
| Constructor and Description |
|---|
LinkedListNodeIterator(LinkedListNode<T> current) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
LinkedListNode<T> |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removeprotected LinkedListNode<T> current
public LinkedListNodeIterator(LinkedListNode<T> current)
public boolean hasNext()
hasNext in interface Iterator<LinkedListNode<T>>public LinkedListNode<T> next()
next in interface Iterator<LinkedListNode<T>>Copyright © 2018. All rights reserved.