2014年11月12日
摘要: http://www.cnblogs.com/rollenholt/archive/2011/08/18/2144847.html 阅读全文
posted @ 2014-11-12 16:23 calow 阅读(40) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/rollenholt/archive/2011/08/28/2156357.html 阅读全文
posted @ 2014-11-12 15:02 calow 阅读(52) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/rollenholt/archive/2011/09/11/2173787.html 阅读全文
posted @ 2014-11-12 15:01 calow 阅读(57) 评论(0) 推荐(0)
摘要: 1. 首先是普通形式的工厂模式,缺陷在于每当添加多一个实现类的时候都需要更改工厂类/*** @author 设计模式之 工厂模式*/interface fruit{public abstract void eat();}class Apple implements fruit{public void... 阅读全文
posted @ 2014-11-12 11:08 calow 阅读(120) 评论(0) 推荐(0)