|
Design Patterns: Elements of Reusable Object-Oriented SoftwareBog'liq GOF Design Patterns
Design Patterns: Elements of Reusable Object-Oriented Software
3
4 Structural Patterns .............................................. 155
Adapter ........................................................... 157
Bridge ............................................................ 171
Composite ......................................................... 183
Decorator ......................................................... 196
Fa
ç
ade ............................................................ 208
Flyweight ......................................................... 218
Proxy ............................................................. 233
Discussion of Structural Patterns ................................. 246
5 Behavioral Patterns .............................................. 249
Chain of Responsibility ........................................... 251
Command ........................................................... 263
Interpreter ....................................................... 274
Iterator .......................................................... 289
Mediator .......................................................... 305
Memento ........................................................... 316
Observer .......................................................... 326
State ............................................................. 338
Strategy .......................................................... 349
Template Method ................................................... 360
Visitor ........................................................... 366
Discussion of Behavioral Patterns ................................. 382
6 Conclusion ....................................................... 388
6.1 What to Expect from Design Patterns ........................... 388
6.2 A Brief History ............................................... 392
6.3 The Pattern Community ......................................... 393
6.4 An Invitation ................................................. 395
6.5 A Parting Thought ............................................. 396
A Glossary ......................................................... 397
B Guide to Notation ................................................ 404
B.1 Class Diagram ................................................. 404
B.2 Object Diagram ................................................ 406
B.3 Interaction Diagram ........................................... 407
C Foundation Classes ............................................... 409
C.1 List .......................................................... 409
C.2 Iterator ...................................................... 412
C.3 ListIterator .................................................. 413
Do'stlaringiz bilan baham: |
|
|