TreeSet.addAll()
Anybody tried to addAll a collection to a TreeSet?
Say,
SortedSet ss = new TreeSet();
ss.addAll(Arrays.toList(new int[] {3, 17, 90, 1, 27, 2005}));
Try it, you'll find it amusing.
Say,
SortedSet
ss.addAll(Arrays.toList(new int[] {3, 17, 90, 1, 27, 2005}));
Try it, you'll find it amusing.
