-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
5.0
Name: rmT116609 Date: 04/13/2004
A DESCRIPTION OF THE REQUEST :
The class java.util.Collections contains these methods :
- public static <T> Set<T> unmodifiableSet(Set<? extends T> s)
- public static <T> SortedSet<T> unmodifiableSortedSet(SortedSet<T> s)
- public static <T> List<T> unmodifiableList(List<? extends T> list)
- public static <T> Collection<T> unmodifiableCollection(Collection<? extends T> c)
- public static <K,V> Map<K,V> unmodifiableMap(Map<? extends K,? extends V> m)
- public static <K,V> SortedMap<K,V> unmodifiableSortedMap(SortedMap<K,? extends V> m)
But this one is missing in JDK 1.5 (tiger) :
- public static <T> Queue<T> unmodifiableQueue(Queue<? extends T> q);
java.util.Queue is a new interface for a collection.
JUSTIFICATION :
scalability
(Incident Review ID: 250071)
======================================================================
- duplicates
-
JDK-5030939 JDK1.5 The method Collections.unmodifiableQueue() is missing
-
- Closed
-
- relates to
-
JDK-6407460 (coll) provide Collections unmodifiable, checked, synchronized for Queue, Deque
-
- Open
-