March 2002
Intermediate to advanced
496 pages
8h 51m
English
Engineers at Oozinoz perceive a natural composition in the processing machines they use to produce fireworks. The factory is composed of bays; each bay has one or more manufacturing lines; a line is a collection of machines that collaboratively produce material to meet a schedule. The developers at Oozinoz have modeled this composition from the problem domain with the class structure shown in Figure 5.2. As the figure shows, the getMachineCount() behavior applies to both individual machines and collections of machines and returns the number of machines in any given component.
|
Read now
Unlock full access