jdk/src/share/classes/java/util/concurrent/LinkedBlockingDeque.java
changeset 3419 3ae6dc68c20d
parent 3415 79309d6eab38
child 5506 202f599c92aa
equal deleted inserted replaced
3418:7502c0a41963 3419:3ae6dc68c20d
   986 
   986 
   987     /**
   987     /**
   988      * Returns an iterator over the elements in this deque in proper sequence.
   988      * Returns an iterator over the elements in this deque in proper sequence.
   989      * The elements will be returned in order from first (head) to last (tail).
   989      * The elements will be returned in order from first (head) to last (tail).
   990      * The returned {@code Iterator} is a "weakly consistent" iterator that
   990      * The returned {@code Iterator} is a "weakly consistent" iterator that
   991      * will never throw {@link ConcurrentModificationException},
   991      * will never throw {@link java.util.ConcurrentModificationException
       
   992      * ConcurrentModificationException},
   992      * and guarantees to traverse elements as they existed upon
   993      * and guarantees to traverse elements as they existed upon
   993      * construction of the iterator, and may (but is not guaranteed to)
   994      * construction of the iterator, and may (but is not guaranteed to)
   994      * reflect any modifications subsequent to construction.
   995      * reflect any modifications subsequent to construction.
   995      *
   996      *
   996      * @return an iterator over the elements in this deque in proper sequence
   997      * @return an iterator over the elements in this deque in proper sequence
  1002     /**
  1003     /**
  1003      * Returns an iterator over the elements in this deque in reverse
  1004      * Returns an iterator over the elements in this deque in reverse
  1004      * sequential order.  The elements will be returned in order from
  1005      * sequential order.  The elements will be returned in order from
  1005      * last (tail) to first (head).
  1006      * last (tail) to first (head).
  1006      * The returned {@code Iterator} is a "weakly consistent" iterator that
  1007      * The returned {@code Iterator} is a "weakly consistent" iterator that
  1007      * will never throw {@link ConcurrentModificationException},
  1008      * will never throw {@link java.util.ConcurrentModificationException
       
  1009      * ConcurrentModificationException},
  1008      * and guarantees to traverse elements as they existed upon
  1010      * and guarantees to traverse elements as they existed upon
  1009      * construction of the iterator, and may (but is not guaranteed to)
  1011      * construction of the iterator, and may (but is not guaranteed to)
  1010      * reflect any modifications subsequent to construction.
  1012      * reflect any modifications subsequent to construction.
  1011      */
  1013      */
  1012     public Iterator<E> descendingIterator() {
  1014     public Iterator<E> descendingIterator() {