lots of exercises in java... from https://github.com/exercism/java

HINTS.md 573B

In order to satisfy the requirement that two clocks are considered equal just when they are set to the same time, you will need to override the equals and hashcode methods in your Clock class.

For more information on how to override these methods, see this JavaWorld article.