Just attempting this question I found in a past exam paper so that I can prepare for an upcoming Java examination.
Provide a generic class Pair for representing pair
Usually a generic Pair type has two generic type parameters, not one - so you could have (say) a Pair. That's typically more useful, IMO.
Pair
I would also suggest that you think about a more conventional name for your type parameter than "thing". For example, you might use Pair or Pair.