JDK-6461901 : (coll) Add Collections.unmodifiableNavigableXXX, synchronizedNavigableXXX, checkedNavigableXXX
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util:collections
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2006-08-21
  • Updated: 2013-07-18
  • Resolved: 2013-07-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Resolved
Related Reports
Duplicate :  
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.

Comments
> I agree, even though none of us engineers are looking forward to writing (and testing) all those mind-numbing forwarding methods. Josh was sure right about that....
18-07-2013

a
18-07-2013

EVALUATION Contribution forum : https://jdk-collaboration.dev.java.net/servlets/ProjectForumMessageView?forumID=1463&messageID=20659
17-07-2007

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.
21-08-2006