結果 : java method with function as argument