IDEA complains:
> `equals()`  should check the class of its parameter