云南大学《设计模式》DesignPatterns-10.pptxVIP

  • 0
  • 0
  • 约1.55千字
  • 约 63页
  • 2017-07-30 发布于浙江
  • 举报

云南大学《设计模式》DesignPatterns-10.pptx

Iterator and Composite Patterns Encapsulating 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)

1亿VIP精品文档

相关文档