protected class DoublyLinkedList.DoublyLinkedListIterator extends Object implements Iterator<T>
| Constructor and Description |
|---|
DoublyLinkedList.DoublyLinkedListIterator(DoublyLinkedList<T> list) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Return a boolean indicating whether a node exist after the current node
|
T |
next()
Get the next value in the iterator
|
void |
remove()
Remove the current item in the iterator
This method is unsupported since removing is done using the iterator
|
public DoublyLinkedList.DoublyLinkedListIterator(DoublyLinkedList<T> list)
public boolean hasNext()
public T next()
Copyright © 2017 WSO2. All rights reserved.