| Modifier and Type | Field and Description |
|---|---|
| protected TreeAdaptor | |
| public Object | |
| public Object | |
| protected boolean | |
| protected FastQueue | nodes
If we emit UP/DOWN nodes, we need to spit out multiple nodes per next() call. |
| protected Object | |
| protected Object | |
| public Object |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public Object | |
| public void | remove()
Overrides default java. |
| public void |
| adaptor | back to summary |
|---|---|
| protected TreeAdaptor adaptor | |
| down | back to summary |
|---|---|
| public Object down | |
| eof | back to summary |
|---|---|
| public Object eof | |
| firstTime | back to summary |
|---|---|
| protected boolean firstTime | |
| nodes | back to summary |
|---|---|
| protected FastQueue<Object> nodes If we emit UP/DOWN nodes, we need to spit out multiple nodes per next() call. | |
| root | back to summary |
|---|---|
| protected Object root | |
| tree | back to summary |
|---|---|
| protected Object tree | |
| up | back to summary |
|---|---|
| public Object up | |
| TreeIterator | back to summary |
|---|---|
| public TreeIterator(Object tree) | |
| TreeIterator | back to summary |
|---|---|
| public TreeIterator(TreeAdaptor adaptor, Object tree) | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public Object next() Implements java. Doc from java. Returns the next element in the iteration. | |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
| |
| reset | back to summary |
|---|---|
| public void reset() | |