結果 : java function as method parameter