此操作最好在創建時進行,以防止對set 的意外非同步存取: SortedSet s = Collections.synchronizedSortedSet(new TreeSet(...)); 此類別的 iterator 方法返回的迭代器是 ...
確定! 回上一頁