CPSC 421 OOP Composite Design Pattern
Across
- 3. The Leaf defines behavior for _____ objects in the composition
- 5. The Component implements the default behavior for the interface _____ to all classes
- 6. The Component declares an interface for accessing and managing its _____ components
- 9. Use the Composite Pattern when you want Clients to be able to ignore the _____ between compositions of objects and individual objects
- 10. The Composite _____ child components
- 12. Composite is a _____ Pattern
- 15. The related _____ Pattern uses Composite objects
- 16. In the filesystem example, both classes File and Directory have the method _____()
- 19. In the Motivation, the class _____ is in the role of Component
- 20. An implementation issue is "Who should _____ components?"
- 21. In the filesystem example, the class File is in the role of _____
- 22. Optionally, the Component defines an interface for accessing a component's _____
- 23. The related _____ Pattern stores the state the Composite requires for an undo
- 24. The related _____ Pattern is used to implement MacroComposites
Down
- 1. In the Motivation, the class _____ is in the role of Composite
- 2. In the filesystem example, the class Directory is in the role of _____
- 4. The _____ defines behavior for components having children
- 6. The _____ manipulates objects in the composition through the Component interface
- 7. The _____ declares the interface for objects in the composition
- 8. In the Motivation, the class _____ is one of the classes in the role of Leaf
- 11. An implementation issue is the child management and _____
- 13. The Composite Pattern lets clients treat individual objects and compositions of objects _____
- 14. The _____ represents components that have no children
- 17. The Composite _____ child-related operations in the Component interface
- 18. The Composite Pattern allows you to compose objects into tree structures to represent part-whole _____