Returns true if object is a HashCode instance with the identical byte representation to this hash code. Security note: this method uses a constant-time (not short-circuiting) implementation to protect against tim
(@Nullable Object object)
| 388 | */ |
| 389 | |
| 390 | @Override |
| 391 | public final boolean equals(@Nullable Object object) { |
| 392 | if (object instanceof HashCode) { |
| 393 | HashCode that = (HashCode) object; |
| 394 | return bits() == that.bits() && equalsSameBits(that); |
| 395 | } |
| 396 | return false; |
| 397 | } |
| 398 | |
| 399 | /** |
| 400 | * Returns a "Java hash code" for this {@code HashCode} instance; this is well-defined (so, for |
nothing calls this directly
no test coverage detected