摘要: /** * */package decorator2;/** * @author wangjian2 * */public interface InterfaceComponent { public void say();}package decorator2;public class Component implements InterfaceComponent { @Override public void say() { System.out.println("Component.say():原组件的方法!"); }}package decorat... 阅读全文
posted @ 2013-06-07 12:08 唾手可得的树 阅读(202) 评论(0) 推荐(0) 编辑