摘要: 重构 6.9 节中Replace Method with Method Object(以函数对象取代函数)Replace Method with Method Object (以函数对象取代函数)大家有没有什么心得!例如下面的代码:TestMethod()方法内调用了 test1() test2()这2个私有方法时,如果应用 Replace Method with Method Object,为保... 阅读全文
posted @ 2009-11-26 15:29 Old 阅读(591) 评论(1) 推荐(0) 编辑