@@ -0,0 +1,695 @@
+// --------------------- %E9%97%A8%E9%9D%A2%E7%B1%BB%0A%0Apublic class Facade %7B%0A    private ClassA classA = new ClassA();%0A    private ClassB classB = new ClassB();%0A%0A    public void methodA() %7B%0A        classA.doSomethingA();%0A    %7D%0A%0A    public void methodB() %7B%0A        classB.doSomethingB();%0A    %7D%0A%7D%0A%0A// --------------------- %E5%AD%90%E7%B3%BB%E7%BB%9F%E7%B1%BB%0A%0Apublic class ClassA %7B%0A    public void doSomethingA() %7B%0A        System.out.println(%22ClassA doSomethingA...%22);%0A    %7D%0A%7D%0A%0Apublic class ClassB %7B%0A    public void doSomethingB() %7B%0A        System.out.println(%22ClassB doSomethingB...%22);%0A    %7D%0A%7D%0A%0A// --------------------- test code%0A%0Apublic static void main(String%5B%5D args) %7B%0A    Facade facade = new Facade();%0A%0A    facade.methodA();%0A    facade.methodB();%0A%7D

add facade pattern