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

Comparing jsr166/src/main/java/util/ArrayDeque.java (file contents):
Revision 1.10 by jsr166, Tue May 17 04:09:23 2005 UTC vs.
Revision 1.12 by jsr166, Tue May 17 16:14:34 2005 UTC

# Line 313 | Line 313 | public class ArrayDeque<E> extends Abstr
313       * If the deque does not contain the element, it is unchanged.
314       * More formally, removes the first element <tt>e</tt> such that
315       * <tt>o.equals(e)</tt> (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 the deque contained the specified element
# Line 341 | Line 341 | public class ArrayDeque<E> extends Abstr
341       * If the deque does not contain the element, it is unchanged.
342       * More formally, removes the last element <tt>e</tt> such that
343       * <tt>o.equals(e)</tt> (if such an element exists).
344 <     * Returns true if this deque contained the specified element (or
345 <     * equivalently, if this deque changed as a result of the call).
344 >     * Returns <tt>true</tt> if this deque contained the specified element
345 >     * (or equivalently, if this deque changed as a result of the call).
346       *
347       * @param o element to be removed from this deque, if present
348       * @return <tt>true</tt> if the deque contained the specified element
# Line 613 | Line 613 | public class ArrayDeque<E> extends Abstr
613       * If the deque does not contain the element, it is unchanged.
614       * More formally, removes the first element <tt>e</tt> such that
615       * <tt>o.equals(e)</tt> (if such an element exists).
616 <     * Returns true if this deque contained the specified element (or
617 <     * equivalently, if this deque changed as a result of the call).
616 >     * Returns <tt>true</tt> if this deque contained the specified element
617 >     * (or equivalently, if this deque changed as a result of the call).
618       *
619       * <p>This method is equivalent to {@link #removeFirstOccurrence}.
620       *
# Line 651 | Line 651 | public class ArrayDeque<E> extends Abstr
651       * maintained by this deque.  (In other words, this method must allocate
652       * a new array).  The caller is thus free to modify the returned array.
653       *
654 +     * <p>This method acts as bridge between array-based and collection-based
655 +     * APIs.
656 +     *
657       * @return an array containing all of the elements in this deque
658       */
659      public Object[] toArray() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines