Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6461901
Votes 1
Synopsis (coll) Add Collections.unmodifiableNavigableXXX, synchronizedNavigableXXX, checkedNavigableXXX
Category java:classes_util
Reported Against
Release Fixed
State 7-Fix in Progress, request for enhancement
Priority: 3-Medium
Related Bugs
Submit Date 21-AUG-2006
Description
java.util.Collections contains these static methods to construct SortedXXX:

SortedSet<T> unmodifiableSortedSet(SortedSet<T> s)
SortedMap<K,V> unmodifiableSortedMap(SortedMap<K, ? extends V> m)
SortedSet<T> synchronizedSortedSet(SortedSet<T> s)
SortedMap<K,V> synchronizedSortedMap(SortedMap<K,V> m)
SortedSet<E> checkedSortedSet(SortedSet<E> s, Class<E> type)
SortedMap<K,V> checkedSortedMap(SortedMap<K, V> m,                                                                          Class<K> keyType,
                                Class<V> valueType)

Now that SortedXXX is more or less obsoleted by NavigableXXX, we
should provide analogues of the above for NavigableSet and NavigableMap.
Posted Date : 2006-08-21 00:51:15.0
Work Around
N/A
Evaluation
Josh writes:

"They definitely belong there.  Their absence is unintentional.    
We should put them in as soon as possible."

I agree, even though none of us engineers are looking forward
to writing (and testing) all those mind-numbing forwarding methods.
Posted Date : 2006-08-21 00:50:41.0

Contribution forum : https://jdk-collaboration.dev.java.net/servlets/ProjectForumMessageView?forumID=1463&messageID=20659
Posted Date : 2007-07-17 01:55:05.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang