Design Patterns Java™ Workbook
Appendix B. Solutions Adapter (Chapter 3)....................................................................................... ...
Appendix B. Solutions public int getRowCount() { return rockets.length; } public Object getValueAt(int row, int col) { switch (c ...
Appendix B. Solutions SOLUTION 3.5.............................................................................................. ...
Appendix B. Solutions Facade (Chapter 4)........................................................................................ ...
Appendix B. Solutions SOLUTION 4.3 (from page 48)............................................................................... ...
Appendix B. Solutions Composite (Chapter 5)..................................................................................... ...
Appendix B. Solutions SOLUTION 5.4.............................................................................................. ...
Appendix B. Solutions SOLUTION 5.6.............................................................................................. ...
Appendix B. Solutions Bridge (Chapter 6)........................................................................................ ...
Appendix B. Solutions SOLUTION 6.2.............................................................................................. ...
Appendix B. Solutions SOLUTION 6.3.............................................................................................. ...
Appendix B. Solutions SOLUTION 6.4.............................................................................................. ...
Appendix B. Solutions Introducing Responsibility (Chapter 7).................................................................... ...
Appendix B. Solutions The name of each of a class's methods should be a good commentary on what the method does. SOLUTION 7.3. ...
Appendix B. Solutions Singleton (Chapter 8)..................................................................................... ...
Appendix B. Solutions PrintSpooler: If you really have only one printer in your company, PrintSpooler might be a singleton. Prin ...
Appendix B. Solutions Observer (Chapter 9)...................................................................................... ...
Appendix B. Solutions Figure B.9. In this design, components that depend on the slider implement ChangeListener so that they can ...
Appendix B. Solutions SOLUTION 9.4.............................................................................................. ...
Appendix B. Solutions SOLUTION 9.6.............................................................................................. ...
«
11
12
13
14
15
16
17
18
19
20
»
Free download pdf