is there a best practice, when to override equals?
Should I override equals/hashCode and throw an AssertionError? Just to be sure nobody uses that? (as recommended in the book Effective Java)
Should I ...
I have the following situation: I have many BSTs, and I want to merge isomorphic subtrees to save space.
I am hashing Binary Search Tree nodes into a "unique table" - basically ...
Possibly a dumb question, but I don't want to screw this up. Let's say I have two Java classes, Class1 and Class2, where Class2 extends Class1. I want to ...