set . add(“1“);
set . add(“2“);
set . add(“3“);
iterator iterator = set . iterator();
while(iterator . hasnext()){
system . out . println(iterator . next());