[concurrency-interest] need to use collection.sort w. CopyOnWriteArrayList but cant.....
Tue, 1 Jun 2004 13:48:22 +0200
i am using CopyOnWriteArrayList.
i need ot add sort capability and tried doing it through the
Collections.sort but this fails cause the sort method eventually calls the
set method on the list iterator and this is not supported in the
do i have alternatives? i want to keep using the CopyOnWriteArrayList - it
fits my needs (multi thread env, small ammout of modifications a lot of
reads using the list iterator).
thanks in advance.
tel: +972 9 7619288
fax: +972 9 7443626