equals

Returns whether some other object is "equal to" this one
with respect to a structural comparison. For example, when comparing
Java class methods, equals would return true
if two methods have the same signature (the argument names and the
method body might differ).