0

I need a concurrent List, and the first idea that came into my mind is using Vector. But as far as i know, Vector is not very efficient for example when reading (two threads cannot read from it at the same time).

Is there any existing collection that improves this? (ConcurrentHashMap is not a good option because it doesn't allow duplication's).

annnnnnnnnn
  • 81
  • 1
  • 6

0 Answers0