2223242526272829303132
stringList.count(new ArrayList<String>()); stringList.templateMethod(new ArrayList<String>()); } public void useImplementTemplate() { IBase base = new Base(10, 20) { public int compute() { return getA() * getB(); }; };