Revert "implement hashCode() and equals()"

This reverts commit 4b1e108e3b97a0db876cdbe54060d64ef791c6db.