static class LinkedHashTreeMap.AvlIterator<K,V>
extends java.lang.Object
Warning: this iterator is destructive. It clears the parent node of all nodes in the tree. It is an error to make a partial iteration of a tree.
| Modifier and Type | Field and Description |
|---|---|
private LinkedHashTreeMap.Node<K,V> |
stackTop
This stack is a singly linked list, linked by the 'parent' field.
|
| Constructor and Description |
|---|
AvlIterator() |
| Modifier and Type | Method and Description |
|---|---|
LinkedHashTreeMap.Node<K,V> |
next() |
(package private) void |
reset(LinkedHashTreeMap.Node<K,V> root) |
private LinkedHashTreeMap.Node<K,V> stackTop
void reset(LinkedHashTreeMap.Node<K,V> root)
public LinkedHashTreeMap.Node<K,V> next()