35 |
|
* asynchronous nature of these deques, determining the current number |
36 |
|
* of elements requires a traversal of the elements, and so may report |
37 |
|
* inaccurate results if this collection is modified during traversal. |
38 |
< |
* Additionally, the bulk operations <tt>addAll</tt>, |
39 |
< |
* <tt>removeAll</tt>, <tt>retainAll</tt>, <tt>containsAll</tt>, |
40 |
< |
* <tt>equals</tt>, and <tt>toArray</tt> are <em>not</em> guaranteed |
38 |
> |
* Additionally, the bulk operations {@code addAll}, |
39 |
> |
* {@code removeAll}, {@code retainAll}, {@code containsAll}, |
40 |
> |
* {@code equals}, and {@code toArray} are <em>not</em> guaranteed |
41 |
|
* to be performed atomically. For example, an iterator operating |
42 |
< |
* concurrently with an <tt>addAll</tt> operation might view only some |
42 |
> |
* concurrently with an {@code addAll} operation might view only some |
43 |
|
* of the added elements. |
44 |
|
* |
45 |
|
* <p>This class and its iterator implement all of the <em>optional</em> |