Pregunta de entrevista de Pegasystems

What is the correlation between HashCode and HashSet?