First page Back Continue Last page Overview Graphics
Motivation -- Approach 2:
Iteration methods on Aggregate
- Con: No multiple concurrent traversals
- Searching for duplicates, etc.
- Con: No multiple types of traversal
- backward, forward, preorder, postorder, inorder
- Con: Traversal algorithm not reusable
- Con: Iteration methods intermixed with
other methods