Question d’entretien chez Deutsche Telekom

How can you make Hashset accept duplicate value?