ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166x/LinkedBlockingDeque.java
(Generate patch)

Comparing jsr166/src/jsr166x/LinkedBlockingDeque.java (file contents):
Revision 1.11 by jsr166, Sun Nov 18 18:03:10 2012 UTC vs.
Revision 1.13 by jsr166, Sat Dec 29 23:55:19 2012 UTC

# Line 444 | Line 444 | public class LinkedBlockingDeque<E>
444      /**
445       * Returns the number of elements in this deque.
446       *
447 <     * @return  the number of elements in this deque.
447 >     * @return  the number of elements in this deque
448       */
449      public int size() {
450          lock.lock();
# Line 647 | Line 647 | public class LinkedBlockingDeque<E>
647       * construction of the iterator, and may (but is not guaranteed to)
648       * reflect any modifications subsequent to construction.
649       *
650 <     * @return an iterator over the elements in this deque in proper sequence.
650 >     * @return an iterator over the elements in this deque in proper sequence
651       */
652      public Iterator<E> iterator() {
653          return new Itr();
# Line 664 | Line 664 | public class LinkedBlockingDeque<E>
664           * an element exists in hasNext(), we must return item read
665           * under lock (in advance()) even if it was in the process of
666           * being removed when hasNext() was called.
667 <         **/
667 >         */
668          private E nextItem;
669  
670          /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines