Monday, March 15, 2004 05:46 AM
I want to lock a HashMap for writers and readers only if someone is writing, but if only there are reader threads i don't want to lock it.
Someone can tell me if Collections.synchronizedMap(new HashMap()) is what i'm looking for??, or i have to do it manually.
Best Regards. Elena