739 |
|
* Returns an iterator over the elements in this queue in proper sequence. |
740 |
|
* The elements will be returned in order from first (head) to last (tail). |
741 |
|
* |
742 |
< |
* <p>The returned iterator is a "weakly consistent" iterator that |
743 |
< |
* will never throw {@link java.util.ConcurrentModificationException |
744 |
< |
* ConcurrentModificationException}, and guarantees to traverse |
745 |
< |
* elements as they existed upon construction of the iterator, and |
746 |
< |
* may (but is not guaranteed to) reflect any modifications |
747 |
< |
* subsequent to construction. |
742 |
> |
* <p>The returned iterator is |
743 |
> |
* <a href="package-summary.html#Weakly"><i>weakly consistent</i></a>. |
744 |
|
* |
745 |
|
* @return an iterator over the elements in this queue in proper sequence |
746 |
|
*/ |
945 |
|
/** |
946 |
|
* Returns a {@link Spliterator} over the elements in this queue. |
947 |
|
* |
948 |
+ |
* <p>The returned spliterator is |
949 |
+ |
* <a href="package-summary.html#Weakly"><i>weakly consistent</i></a>. |
950 |
+ |
* |
951 |
|
* <p>The {@code Spliterator} reports {@link Spliterator#CONCURRENT}, |
952 |
|
* {@link Spliterator#ORDERED}, and {@link Spliterator#NONNULL}. |
953 |
|
* |