java.util.LinkedHahset 集合 extends HashSet 集合
for (Integer i : set) { System.out.println(i); }
Iterator<Integer> it = set.iterator();
while (it.hasNext()){
Integer n = it.next();
System.out.println(n);
}
原文:https://www.cnblogs.com/niujifei/p/11439881.html