query: How to guarantee that equals() and hashCode() are in sync?
positive_passages.docid: 878
positive_passages.text: What issues should be considered when overriding equals and hashCode in Java?
negative_passages.docid: 19444
negative_passages.text: Changing HashMap keys during iteration
negative_passages.docid: 87643
negative_passages.text: what is the time complexity of .equals in java for 2 strings?
negative_passages.docid: 40587
negative_passages.text: Why not allow an external interface to provide hashCode/equals for a HashMap?
negative_passages.docid: 36686
negative_passages.text: Comparing strings with == which are declared final in Java
negative_passages.docid: 31915
negative_passages.text: In Perl, is there a built in way to compare two arrays for equality?
negative_passages.docid: 33398
negative_passages.text: C# difference between == and Equals()
negative_passages.docid: 94972
negative_passages.text: Java Array HashCode implementation
negative_passages.docid: 104501
negative_passages.text: How do I enforce null checking?
negative_passages.docid: 156341
negative_passages.text: How this java code produces deadlock?
negative_passages.docid: 131933
negative_passages.text: On the usage of Java equality operator
negative_passages.docid: 17932
negative_passages.text: HashSet allows duplicate item insertion if hashCode() is not overridden
negative_passages.docid: 89885
negative_passages.text: Does Java guarantee that Object.getClass() == Object.getClass()?
negative_passages.docid: 151218
negative_passages.text: When to use the equals sign in a Scala method declaration?
negative_passages.docid: 156145
negative_passages.text: Should we always override equals?
negative_passages.docid: 114604
negative_passages.text: How to compare two java objects
negative_passages.docid: 22602
negative_passages.text: Why is == true for some Integer objects?