Parent Directory | Revision Log | Patch
revision 1.15.2.5 by gnu_andrew, Thu Jan 13 11:14:34 2005 UTC | revision 1.15.2.6 by gnu_andrew, Sat Apr 16 11:38:20 2005 UTC | |
---|---|---|
# | Line 151 public class TreeSet<T> extends Abstract | Line 151 public class TreeSet<T> extends Abstract |
151 | { | { |
152 | Iterator<T> itr; | Iterator<T> itr; |
153 | ||
154 | map = new TreeMap<T, String>(sortedSet.comparator()); | map = new TreeMap<T, String> |
155 | ((Comparator<? super T>)sortedSet.comparator()); | |
156 | itr = ((SortedSet<T>) sortedSet).iterator(); | itr = ((SortedSet<T>) sortedSet).iterator(); |
157 | ((TreeMap<T, String>) map).putKeysLinear(itr, sortedSet.size()); | ((TreeMap<T, String>) map).putKeysLinear(itr, sortedSet.size()); |
158 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |