Domanda di colloquio di Pegasystems

What is the correlation between HashCode and HashSet?