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.30 by jsr166, Wed Dec 31 22:40:51 2014 UTC vs.
Revision 1.31 by jsr166, Wed Sep 30 00:03:02 2015 UTC

# Line 375 | Line 375 | public interface BlockingDeque<E> extend
375       * @return {@code true} if an element was removed as a result of this call
376       * @throws ClassCastException if the class of the specified element
377       *         is incompatible with this deque
378 <     *         (<a href="../Collection.html#optional-restrictions">optional</a>)
378 >     * (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>)
379       * @throws NullPointerException if the specified element is null
380 <     *         (<a href="../Collection.html#optional-restrictions">optional</a>)
380 >     * (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>)
381       */
382      boolean removeFirstOccurrence(Object o);
383  
# Line 393 | Line 393 | public interface BlockingDeque<E> extend
393       * @return {@code true} if an element was removed as a result of this call
394       * @throws ClassCastException if the class of the specified element
395       *         is incompatible with this deque
396 <     *         (<a href="../Collection.html#optional-restrictions">optional</a>)
396 >     * (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>)
397       * @throws NullPointerException if the specified element is null
398 <     *         (<a href="../Collection.html#optional-restrictions">optional</a>)
398 >     * (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>)
399       */
400      boolean removeLastOccurrence(Object o);
401  
# Line 570 | Line 570 | public interface BlockingDeque<E> extend
570       * @return {@code true} if this deque changed as a result of the call
571       * @throws ClassCastException if the class of the specified element
572       *         is incompatible with this deque
573 <     *         (<a href="../Collection.html#optional-restrictions">optional</a>)
573 >     * (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>)
574       * @throws NullPointerException if the specified element is null
575 <     *         (<a href="../Collection.html#optional-restrictions">optional</a>)
575 >     * (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>)
576       */
577      boolean remove(Object o);
578  
# Line 585 | Line 585 | public interface BlockingDeque<E> extend
585       * @return {@code true} if this deque contains the specified element
586       * @throws ClassCastException if the class of the specified element
587       *         is incompatible with this deque
588 <     *         (<a href="../Collection.html#optional-restrictions">optional</a>)
588 >     * (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>)
589       * @throws NullPointerException if the specified element is null
590 <     *         (<a href="../Collection.html#optional-restrictions">optional</a>)
590 >     * (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>)
591       */
592      boolean contains(Object o);
593  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines