最好在創建時完成這一操作,以防止對該set 進行意外的不同步訪問:Set s = Collections.synchronizedSet); HashSet通過iterator // 帶集合的構造 ...
確定! 回上一頁