I\'m trying to override equals method for a parameterized class.
equals
@Override public boolean equals(Object obj) { if (this == obj) return t
Sadly, you can't do this at compile time; the information is gone. Such are the consequences of type erasure. An alternative is to store the parameter as a Class instance, and then look it up later.
Class