- 0
- 0
- 约1.55千字
- 约 63页
- 2017-07-30 发布于浙江
- 举报
Iterator and Composite PatternsEncapsulating Algorithms;Big news;Check out the Menu Items;Lou’s Menu implementation;Mel’s Menu implementation;What’s the problem with having two different menu representations?;PrintMenu() method;PrintMenu() method;Sharpen your pencil;Can we encapsulate the iteration?;Can we encapsulate the iteration?;Can we encapsulate the iteration?;Can we encapsulate the iteration?;Meet the Iterator Pattern;Meet the Iterator Pattern;Adding an Iterator to DinerMenu;Adding an Iterator to DinerMenu;Reworking the Diner Menu with Iterator;Fixing up the Waitress code;Testing our c
原创力文档

文档评论(0)