标签:xtend and 数组 sys class for extends for循环 红黑树
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);
}
标签:xtend and 数组 sys class for extends for循环 红黑树
原文地址:https://www.cnblogs.com/niujifei/p/11439881.html