March 2002
Intermediate to advanced
496 pages
8h 51m
English
Chapter 5, Composite, introduced the MachineComponent hierarchy and suggested several possible behaviors for this composite structure. Suppose that the developers at Oozinoz have built some of these behaviors into the hierarchy and have also applied VISITOR to allow for later extensions. Figure 29.1 shows the current state of the hierarchy.

The figure doesn't explain how VISITOR works; the next section does that. The figure simply shows some of the groundwork that lets you apply VISITOR.
One aspect of allowing for ...
Read now
Unlock full access