Head First: Design Patterns by Freeman Eric & Robson Elisabeth & Bates Bert & Sierra Kathy

Head First: Design Patterns by Freeman Eric & Robson Elisabeth & Bates Bert & Sierra Kathy

Author:Freeman, Eric & Robson, Elisabeth & Bates, Bert & Sierra, Kathy
Language: eng
Format: epub
Tags: COMPUTERS / Software Development & Engineering / General
ISBN: 9780596556563
Publisher: O'Reilly Media
Published: 2004-10-24T16:00:00+00:00


Give me the vegetarian menu

Now we’ve got a way to iterate over every item of the Menu. Let’s take that and give our Waitress a method that can tell us exactly which items are vegetarian.

The magic of Iterator & Composite together...

Whooo! It’s been quite a development effort to get our code to this point. Now we’ve got a general menu structure that should last the growing Diner empire for some time. Now it’s time to sit back and order up some veggie food:

Let’s take a look at what you’re talking about:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.