結果 : how to make return type generic in java