![]() |
|
|
|
Structural Pattern The Structural design pattern gives a blueprint for how different classes and objects are combined to form larger structures. The resulting structure should be flexible and extensible. So when one of the parts needs changes, the entire structure need not be changed. The structural design pattern also specifies the methods that connect objects, how data is arranged in the structure and how data moves through the pattern. Structural class patterns use inheritance to combine the interfaces or implementations of multiple classes. Structural object patterns use object composition to combine the implementations of multiple objects. Advantages of structural patterns are increased efficiency, enhanced reusability, separating implementation from the interface and reducing complexity by providing cleaner, simpler interfaces to a system that is easier for client programmers to understand.
The common structural patterns are
What is a Design Pattern? |
| About Us | Contact Us | Disclaimer | Privacy Policy | ©2008 thewebguru.com |