I can't speak to what may or may not be in any other programming cookbook.
I can tell you that my cookbook uses a "hands-on" approach that shows how to accomplish a number of common Java programming tasks. It is a book that I have been wanting to write for a long time. Finally, I got enough free time in my schedule to do it. As the new commentary on my website explains, I have been wanting to write a programming cookbook since my college days!
As I mention in other replies, each recipe follows the same format and includes the following items:
. The key ingredients (classes, interfaces, and methods used by the recipe) . Step-by-step instructions that show how to craft a solution. . An in-depth discussion of the steps . A complete example that puts the recipe into action. . Options and alternatives
You can find a table of contents, along with chapter 1 (which introduces the book) at its page on the McGraw-Hill web site.
An example recipe can be found on my web site. Just click on the book's title on the home page. In the description for the book, you will find a link to a sample recipe.
For my latest books on Java, including Introducing JavaFX 8 Programming, see HerbSchildt.com