![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
设计模式
hedianxia
这个作者很懒,什么都没留下…
展开
-
策略模式
[align=center]Strategy pattern[/align] [b]Definition:[/b] The strategy pattern defines a family of algorithms,encapsulate each one,and makes them interchangeable.Strategy ...原创 2013-04-05 20:17:03 · 67 阅读 · 0 评论 -
Adapter
[align=center]Adapter[/align] Intent Convert the interface of a class into another interface that clients expect.Adatper let classes work together that couldn't otherwise because of incompatibl...原创 2013-04-20 09:35:31 · 72 阅读 · 0 评论