Hi,
I'm a beginner, so please help me.
I have


Set mySet= new HashSet();
(Let's assume, that here the set has already 20 elements)

int pos=7;

MyClass myClass;


How could i add myClass to mySet on the 7th position?

What would be the easiest way?
The Set must be here.