In Section P.1, we mentioned that the “Gang of Four” described 23 design patterns using three categories—creational, structural and behavioral. In this and the remaining sections of this appendix, we discuss design patterns in each category and their importance, and how each pattern relates to the Java material in the book. For example, several Java Swing components that we introduce in Chapter 11 and Chapter 22 use the Composite design pattern. Figure P.1 identifies the 18 Gang of Four design patterns discussed in this appendix.
|Section||Creational design patterns||Structural design patterns||Behavioral design patterns ...|