[cvs] / jsr166 / src / main / java / util / Deque.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/Deque.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.26, Sat Jul 20 18:00:11 2013 UTC revision 1.27, Fri Aug 2 22:47:35 2013 UTC
# Line 326  Line 326 
326       * @param o element to be removed from this deque, if present       * @param o element to be removed from this deque, if present
327       * @return {@code true} if an element was removed as a result of this call       * @return {@code true} if an element was removed as a result of this call
328       * @throws ClassCastException if the class of the specified element       * @throws ClassCastException if the class of the specified element
329       *         is incompatible with this deque (optional)       *         is incompatible with this deque
330       * @throws NullPointerException if the specified element is null and this       *         (<a href="../Collection.html#optional-restrictions">optional</a>)
331       *         deque does not permit null elements (optional)       * @throws NullPointerException if the specified element is null
332         *         (<a href="../Collection.html#optional-restrictions">optional</a>)
333       */       */
334      boolean removeFirstOccurrence(Object o);      boolean removeFirstOccurrence(Object o);
335    
# Line 344  Line 345 
345       * @param o element to be removed from this deque, if present       * @param o element to be removed from this deque, if present
346       * @return {@code true} if an element was removed as a result of this call       * @return {@code true} if an element was removed as a result of this call
347       * @throws ClassCastException if the class of the specified element       * @throws ClassCastException if the class of the specified element
348       *         is incompatible with this deque (optional)       *         is incompatible with this deque
349       * @throws NullPointerException if the specified element is null and this       *         (<a href="../Collection.html#optional-restrictions">optional</a>)
350       *         deque does not permit null elements (optional)       * @throws NullPointerException if the specified element is null
351         *         (<a href="../Collection.html#optional-restrictions">optional</a>)
352       */       */
353      boolean removeLastOccurrence(Object o);      boolean removeLastOccurrence(Object o);
354    
# Line 501  Line 503 
503       * @param o element to be removed from this deque, if present       * @param o element to be removed from this deque, if present
504       * @return {@code true} if an element was removed as a result of this call       * @return {@code true} if an element was removed as a result of this call
505       * @throws ClassCastException if the class of the specified element       * @throws ClassCastException if the class of the specified element
506       *         is incompatible with this deque (optional)       *         is incompatible with this deque
507       * @throws NullPointerException if the specified element is null and this       *         (<a href="../Collection.html#optional-restrictions">optional</a>)
508       *         deque does not permit null elements (optional)       * @throws NullPointerException if the specified element is null
509         *         (<a href="../Collection.html#optional-restrictions">optional</a>)
510       */       */
511      boolean remove(Object o);      boolean remove(Object o);
512    
# Line 515  Line 518 
518       *       *
519       * @param o element whose presence in this deque is to be tested       * @param o element whose presence in this deque is to be tested
520       * @return {@code true} if this deque contains the specified element       * @return {@code true} if this deque contains the specified element
521       * @throws ClassCastException if the type of the specified element       * @throws ClassCastException if the class of the specified element
522       *         is incompatible with this deque (optional)       *         is incompatible with this deque
523       * @throws NullPointerException if the specified element is null and this       *         (<a href="../Collection.html#optional-restrictions">optional</a>)
524       *         deque does not permit null elements (optional)       * @throws NullPointerException if the specified element is null
525         *         (<a href="../Collection.html#optional-restrictions">optional</a>)
526       */       */
527      boolean contains(Object o);      boolean contains(Object o);
528    

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8