996 |
|
/** |
997 |
|
* Returns a {@link Spliterator} over the elements in this queue. |
998 |
|
* |
999 |
+ |
* <p>The returned spliterator is |
1000 |
+ |
* <a href="package-summary.html#Weakly"><i>weakly consistent</i></a>. |
1001 |
+ |
* |
1002 |
|
* <p>The {@code Spliterator} reports {@link Spliterator#CONCURRENT}, |
1003 |
|
* {@link Spliterator#ORDERED}, and {@link Spliterator#NONNULL}. |
1004 |
|
* |
1292 |
|
* Returns an iterator over the elements in this queue in proper sequence. |
1293 |
|
* The elements will be returned in order from first (head) to last (tail). |
1294 |
|
* |
1295 |
< |
* <p>The returned iterator is a "weakly consistent" iterator that |
1296 |
< |
* will never throw {@link java.util.ConcurrentModificationException |
1294 |
< |
* ConcurrentModificationException}, and guarantees to traverse |
1295 |
< |
* elements as they existed upon construction of the iterator, and |
1296 |
< |
* may (but is not guaranteed to) reflect any modifications |
1297 |
< |
* subsequent to construction. |
1295 |
> |
* <p>The returned iterator is |
1296 |
> |
* <a href="package-summary.html#Weakly"><i>weakly consistent</i></a>. |
1297 |
|
* |
1298 |
|
* @return an iterator over the elements in this queue in proper sequence |
1299 |
|
*/ |