Collections里为什么没有synchronizedNavigableSet?API给了个例子,说你要想同步TreeMap就这么做:
SortedSet s = Collections.synchronizedSortedSet(new TreeSet(...));但是我想用NavigableSet接口中的方法,SortedSet没有呀,难道NavigableSet中的方法都不用同步?