ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jdk7/java/util/concurrent/BlockingDeque.java
(Generate patch)

Comparing jsr166/src/jdk7/java/util/concurrent/BlockingDeque.java (file contents):
Revision 1.2 by jsr166, Wed Jan 16 01:39:37 2013 UTC vs.
Revision 1.3 by jsr166, Sat Jul 20 19:47:17 2013 UTC

# Line 23 | Line 23 | import java.util.*;
23   *
24   * <p>
25   * <table BORDER CELLPADDING=3 CELLSPACING=1>
26 + * <caption>Summary of BlockingDeque methods</caption>
27   *  <tr>
28   *    <td ALIGN=CENTER COLSPAN = 5> <b>First Element (Head)</b></td>
29   *  </tr>
# Line 98 | Line 99 | import java.util.*;
99   *
100   * <p>
101   * <table BORDER CELLPADDING=3 CELLSPACING=1>
102 + * <caption>Comparison of BlockingQueue and BlockingDeque methods</caption>
103   *  <tr>
104   *    <td ALIGN=CENTER> <b>{@code BlockingQueue} Method</b></td>
105   *    <td ALIGN=CENTER> <b>Equivalent {@code BlockingDeque} Method</b></td>
# Line 606 | Line 608 | public interface BlockingDeque<E> extend
608      // *** Stack methods ***
609  
610      /**
611 <     * Pushes an element onto the stack represented by this deque.  In other
612 <     * words, inserts the element at the front of this deque unless it would
613 <     * violate capacity restrictions.
611 >     * Pushes an element onto the stack represented by this deque (in other
612 >     * words, at the head of this deque) if it is possible to do so
613 >     * immediately without violating capacity restrictions, throwing an
614 >     * {@code IllegalStateException} if no space is currently available.
615       *
616       * <p>This method is equivalent to {@link #addFirst(Object) addFirst}.
617       *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines