結果 : static factory method example java