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.9 by jsr166, Mon Dec 5 04:48:16 2011 UTC vs.
Revision 1.11 by jsr166, Sun Nov 18 18:03:10 2012 UTC

# Line 14 | Line 14 | import java.util.concurrent.locks.*;
14   * An optionally-bounded {@linkplain BlockingDeque blocking deque} based on
15   * linked nodes.
16   *
17 < * <p> The optional capacity bound constructor argument serves as a
17 > * <p>The optional capacity bound constructor argument serves as a
18   * way to prevent excessive expansion. The capacity, if unspecified,
19   * is equal to {@link Integer#MAX_VALUE}.  Linked nodes are
20   * dynamically created upon each insertion unless this would bring the
# Line 149 | Line 149 | public class LinkedBlockingDeque<E>
149      }
150  
151      /**
152 <     * Remove and return first element, or null if empty
152 >     * Removes and returns first element, or null if empty.
153       */
154      private E unlinkFirst() {
155          Node<E> f = first;
# Line 167 | Line 167 | public class LinkedBlockingDeque<E>
167      }
168  
169      /**
170 <     * Remove and return last element, or null if empty
170 >     * Removes and returns last element, or null if empty.
171       */
172      private E unlinkLast() {
173          Node<E> l = last;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines