DBRef (through DBRefBase) defines an equals() method but no hashCode()
Two equal objects are hashed using Object hashCode() with different hashes.
add, remove, contains etc. don't work properly for hash based collections.
DBRef (through DBRefBase) defines an equals() method but no hashCode()
Two equal objects are hashed using Object hashCode() with different hashes.
add, remove, contains etc. don't work properly for hash based collections.