Sha256: f6bd14bd8615902bc4df1946558fe109d4e1ef55b259d19a1fe257cccb4b4254
Contents?: true
Size: 573 Bytes
Versions: 217
Compression:
Stored size: 573 Bytes
Contents
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`](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals(java.lang.Object)) and [`hashcode`](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode) methods in your `Clock` class. For more information on how to override these methods, see [this JavaWorld article](https://web.archive.org/web/20170528222153/http://www.javaworld.com/article/2072762/java-app-dev/object-equality.html).
Version data entries
217 entries across 217 versions & 1 rubygems