public abstract boolean equals (Object obj)

Overriding: java.lang.Object

Obeys the general contract of Object.equals. This method does not, however, indicate whether two types represent the same type. Semantic comparisons of type equality should instead use Types.isSameType(TypeMirror, TypeMirror). The results of t1.equals(t2) and Types.isSameType(t1, t2) may differ.

obj    the object to be compared with this type

Returns:  true if the specified object is equal to this one