What to replace foo() with?
for (MyFuncInt m : { Class1::method, Class2::method }) System.out.println(foo()); // want Class1, Class2 etc here
Sorry about brevity. Mobile device ;)
Aucun commentaire:
Enregistrer un commentaire