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

Comparing jsr166/src/main/java/util/concurrent/BlockingDeque.java (file contents):
Revision 1.36 by jsr166, Wed Aug 23 20:17:53 2017 UTC vs.
Revision 1.37 by jsr166, Mon Oct 1 00:10:53 2018 UTC

# Line 159 | Line 159 | import java.util.NoSuchElementException;
159   * the {@code BlockingDeque} in another thread.
160   *
161   * <p>This interface is a member of the
162 < * <a href="{@docRoot}/java/util/package-summary.html#CollectionsFramework">
162 > * <a href="{@docRoot}/java.base/java/util/package-summary.html#CollectionsFramework">
163   * Java Collections Framework</a>.
164   *
165   * @since 1.6
# Line 370 | Line 370 | public interface BlockingDeque<E> extend
370       * @return {@code true} if an element was removed as a result of this call
371       * @throws ClassCastException if the class of the specified element
372       *         is incompatible with this deque
373 <     * (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>)
373 >     * (<a href="{@docRoot}/java.base/java/util/Collection.html#optional-restrictions">optional</a>)
374       * @throws NullPointerException if the specified element is null
375 <     * (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>)
375 >     * (<a href="{@docRoot}/java.base/java/util/Collection.html#optional-restrictions">optional</a>)
376       */
377      boolean removeFirstOccurrence(Object o);
378  
# Line 388 | Line 388 | public interface BlockingDeque<E> extend
388       * @return {@code true} if an element was removed as a result of this call
389       * @throws ClassCastException if the class of the specified element
390       *         is incompatible with this deque
391 <     * (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>)
391 >     * (<a href="{@docRoot}/java.base/java/util/Collection.html#optional-restrictions">optional</a>)
392       * @throws NullPointerException if the specified element is null
393 <     * (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>)
393 >     * (<a href="{@docRoot}/java.base/java/util/Collection.html#optional-restrictions">optional</a>)
394       */
395      boolean removeLastOccurrence(Object o);
396  
# Line 565 | Line 565 | public interface BlockingDeque<E> extend
565       * @return {@code true} if this deque changed as a result of the call
566       * @throws ClassCastException if the class of the specified element
567       *         is incompatible with this deque
568 <     * (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>)
568 >     * (<a href="{@docRoot}/java.base/java/util/Collection.html#optional-restrictions">optional</a>)
569       * @throws NullPointerException if the specified element is null
570 <     * (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>)
570 >     * (<a href="{@docRoot}/java.base/java/util/Collection.html#optional-restrictions">optional</a>)
571       */
572      boolean remove(Object o);
573  
# Line 580 | Line 580 | public interface BlockingDeque<E> extend
580       * @return {@code true} if this deque contains the specified element
581       * @throws ClassCastException if the class of the specified element
582       *         is incompatible with this deque
583 <     * (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>)
583 >     * (<a href="{@docRoot}/java.base/java/util/Collection.html#optional-restrictions">optional</a>)
584       * @throws NullPointerException if the specified element is null
585 <     * (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>)
585 >     * (<a href="{@docRoot}/java.base/java/util/Collection.html#optional-restrictions">optional</a>)
586       */
587      boolean contains(Object o);
588  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines