[concurrency-interest] java.util.collections

Kasper Nielsen news@kav.dk
Mon, 09 Feb 2004 00:15:50 +0100


hi,

we should probably, for consistancy, add some methods to 
java.util.Collections

Collections.unmodifiableQueue(Queue<T> s)
Collections.synchronizedQueue(Queue<T> s)
Collections.checkedQueue(Queue<T> s)

and perhaps also
Collections.emptyQueue()
Collections.singletonQueue(T o)

- Kasper