5455565758596061626364656667
// }); } private void foo(String a) { IBase myBase = new IBase() { public int compute() { IBase innerMYBase = new IBase() { public int compute() { return 21; } }; return 42;
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(); }; };