equals and hashcode
Differences between HashMap and HashTable in Java - GeeksforGeeks