Package dsa.lab06.exercises
Class BinaryTree.NodeIterator<Item>
java.lang.Object
dsa.lab06.exercises.BinaryTree.NodeIterator<Item>
- All Implemented Interfaces:
- Iterator<BinaryTree.Node<Item>>
- Enclosing class:
- BinaryTree<Item>
public static class BinaryTree.NodeIterator<Item>
extends Object
implements Iterator<BinaryTree.Node<Item>>
- 
Constructor SummaryConstructorsConstructorDescriptionNodeIterator(BinaryTree<Item> tree, BinaryTree.IterationOrder order) Construct an iterator over the nodes in a binary tree.
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.IteratorforEachRemaining, remove
- 
Constructor Details- 
NodeIteratorConstruct an iterator over the nodes in a binary tree.- Parameters:
- tree- the binary tree
- order- the order nodes should be iterated in
 
 
- 
- 
Method Details