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

Comparing jsr166/src/jsr166x/ArrayDeque.java (file contents):
Revision 1.11 by jsr166, Wed Jan 16 00:51:11 2013 UTC vs.
Revision 1.13 by jsr166, Sun Jan 18 20:17:33 2015 UTC

# Line 4 | Line 4
4   */
5  
6   package jsr166x;    // XXX This belongs in java.util!!! XXX
7 +
8   import java.util.*; // XXX This import goes away        XXX
9   import java.io.*;
10  
# Line 464 | Line 465 | public class ArrayDeque<E> extends Abstr
465       * Retrieves, but does not remove, the head of the queue represented by
466       * this deque, returning {@code null} if this deque is empty.
467       *
468 <     * <p>This method is equivalent to {@link #peekFirst}
468 >     * <p>This method is equivalent to {@link #peekFirst}.
469       *
470       * @return the head of the queue represented by this deque, or
471       *     {@code null} if this deque is empty
# Line 478 | Line 479 | public class ArrayDeque<E> extends Abstr
479       * this deque.  This method differs from the {@code peek} method only in
480       * that it throws an exception if this deque is empty.
481       *
482 <     * <p>This method is equivalent to {@link #getFirst}
482 >     * <p>This method is equivalent to {@link #getFirst}.
483       *
484       * @return the head of the queue represented by this deque
485       * @throws NoSuchElementException if this deque is empty

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines