摘要:
The Adapter Pattern converts the interface of a class into another interface the clients expect.Adapter lets classes work together that couldnot otherwise beause of incompatible interfaces. 1 interface Duck { 2 public void quack(); 3 public void fly(); 4 } 5 6 interface Turkey { 7 publi... 阅读全文
posted @ 2012-05-19 21:42
wen_dao_
阅读(158)
评论(0)
推荐(0)
浙公网安备 33010602011771号