Trail: Essential Classes
Lesson: Concurrency
Section: High Level Concurrency Objects
Concurrent Collections
Home Page > Essential Classes > Concurrency

Concurrent Collections

The java.util.concurrent package includes a number of additions to the Java Collections Framework. These are most easily categorized by the collection interfaces provided:

All of these collections help avoid Memory Consistency Errors by defining a happens-before relationship between an operation that adds an object to the collection with subsequent operations that access or remove that object.


Problems with the examples? Try Compiling and Running the Examples: FAQs.
Complaints? Compliments? Suggestions? Give us your feedback.

Previous page: Fork/Join
Next page: Atomic Variables