Design Patterns in Java

Contact Bill

 

 

 
 
Here is a list of errors in Design Patterns in Java that you may want to correct in your copy of the book. (Please accept our apologies for these errors.)
  • Page 19, figure 3.3: The caption should say "adapts the PhysicalRocket class" (rather than "adapts the Rocket class"). (Thanks to Reto Fricker.)
  • Page 36, figure 4.2: Methods other than paintComponent() are static, and should be underlined. (Thanks to Reto Fricker.)
  • Page 85, figure 8.1: "java.lang.math" should be "java.lang.Math". (Thanks to Reto Fricker.)
  • Page 137: In line 10 of the first paragraph, change "group objects" to "group of objects" (Thanks to Rob Dickens for pointing this out.)
  • Page 171: Challenge 16.5 has a solution on page 393, not 391. (Thanks to Rob Dickens.)
  • Page 180: In the last sentence of the second-to-last paragraph, change "Figure 17.5 shows the current�" to "Figure 17.6 shows the current�" (Thanks to Rob Dickens.)
  • Page 183: In Challenge 17.4, change the .cs filename extension to .java. (Thanks to Matthew M. Boedicker.)
  • Page 223, in Figure 21.3: The AsterStarPress class and its markMoldIncomplete() operation should be italicized to show that they are abstract. (Thanks to Rob Dickens.)
  • Page 243, in Figure 23.1: The Firework class's getRandom() and lookup() methods should be underlined to show that they are static methods. (Thanks to Rob Dickens.)
  • Page 333: Strike the words "comma-list filter and". The commas in the output come from the string representation of the HashSet object returned by the getLeaves() method. The line wrapping comes from the WrapFilter object. (Thanks to Rob Dickens.)
  • Page 351, in Figure B.2: The constructor name should match the class name for OozinozSkyRocket. (Thanks to Randolf Rothfuss.)
  • Page 432: In the UML diagram, change +Firework: lookup(name:String) to +lookup(name:String):Firework. (Thanks to Jeff Adrian.)

 

back to...
 

Copyright 1994-2020, William C. Wake - William.Wake@acm.org