結果 : how to write functional programming in java