Week 15 Class 24 Tue Apr 21 Posted: Apr 21
Announcements
Agenda
Notes: Design Pattern Composite
Compose objects into tree structures to represent part-whole hierarchies
Composite lets clients treat individual objects and compositions of objects uniformly
Convert the interface of a class into another interface clients expect
Adapter lets classes work together with incompatible interfaces
Provide a unified interface to a set of interfaces in a subsystem
Facade defines a higher-level interface that makes the subsystem easier to use
Unless otherwise noted, exercises are due by 3:30 pm on Wed Apr 22