Part 3. Structural Patterns
A structural pattern describes how classes and objects can be combined to form larger structures. Class and object patterns differ in that a class pattern describes how inheritance can be used to provide more useful program interfaces. An object pattern describes how objects can be composed into larger structures using object composition or by including objects within other objects.
Adapter pattern. can be used to make one class interface match another for easier programming.
We'll also look at a number of other structural patterns where we combine objects to provide new functionality.
Composite pattern. creates an object (a composition of objects), each of which may be a simple or a composite object.
Proxy pattern. creates ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access