You should nonetheless make sure that `obj` is compatible with the general guidelines of writing an `equals()`. Check for null, check for `this`, etc.