結果 : how to create custom generic class in java