News

When overriding equals(), it’s common practice to also override the hashCode() method. See Comparing Java objects with equals() and hashcode() for more about these methods.