結果 : how to write custom functional interface in java