摘要:
/** * */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... 阅读全文