結果 : how to check instance of generic type java