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

Comparing jsr166/src/main/java/util/Deque.java (file contents):
Revision 1.11 by jsr166, Tue May 17 16:00:48 2005 UTC vs.
Revision 1.12 by jsr166, Tue May 17 16:14:34 2005 UTC

# Line 313 | Line 313 | public interface Deque<E> extends Queue<
313       * More formally, removes the first element <tt>e</tt> such that
314       * <tt>(o==null&nbsp;?&nbsp;e==null&nbsp;:&nbsp;o.equals(e))</tt>
315       * (if such an element exists).
316 <     * Returns true if this deque contained the specified element (or
317 <     * equivalently, if this deque changed as a result of the call).
316 >     * Returns <tt>true</tt> if this deque contained the specified element
317 >     * (or equivalently, if this deque changed as a result of the call).
318       *
319       * @param o element to be removed from this deque, if present
320       * @return <tt>true</tt> if an element was removed as a result of this call
# Line 331 | Line 331 | public interface Deque<E> extends Queue<
331       * More formally, removes the last element <tt>e</tt> such that
332       * <tt>(o==null&nbsp;?&nbsp;e==null&nbsp;:&nbsp;o.equals(e))</tt>
333       * (if such an element exists).
334 <     * Returns true if this deque contained the specified element (or
335 <     * equivalently, if this deque changed as a result of the call).
334 >     * Returns <tt>true</tt> if this deque contained the specified element
335 >     * (or equivalently, if this deque changed as a result of the call).
336       *
337       * @param o element to be removed from this deque, if present
338       * @return <tt>true</tt> if an element was removed as a result of this call
# Line 487 | Line 487 | public interface Deque<E> extends Queue<
487       * More formally, removes the first element <tt>e</tt> such that
488       * <tt>(o==null&nbsp;?&nbsp;e==null&nbsp;:&nbsp;o.equals(e))</tt>
489       * (if such an element exists).
490 <     * Returns true if this deque contained the specified element (or
491 <     * equivalently, if this deque changed as a result of the call).
490 >     * Returns <tt>true</tt> if this deque contained the specified element
491 >     * (or equivalently, if this deque changed as a result of the call).
492       *
493       * <p>This method is equivalent to {@link #removeFirstOccurrence}.
494       *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines