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

Comparing jsr166/src/jsr166x/Deque.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 5 | Line 5
5   */
6  
7   package jsr166x;     // XXX This belongs in java.util!!! XXX
8 +
9   import java.util.*;    // XXX This import goes away        XXX
10  
11   /**
# Line 381 | Line 382 | public interface Deque<E> extends Queue<
382       * Retrieves, but does not remove, the head of the queue represented by
383       * this deque, returning {@code null} if this deque is empty.
384       *
385 <     * <p>This method is equivalent to {@link #peekFirst()}
385 >     * <p>This method is equivalent to {@link #peekFirst()}.
386       *
387       * @return the head of the queue represented by this deque, or
388       *     {@code null} if this deque is empty
# Line 393 | Line 394 | public interface Deque<E> extends Queue<
394       * this deque.  This method differs from the {@code peek} method only in
395       * that it throws an exception if this deque is empty.
396       *
397 <     * <p>This method is equivalent to {@link #getFirst()}
397 >     * <p>This method is equivalent to {@link #getFirst()}.
398       *
399       * @return the head of the queue represented by this deque
400       * @throws NoSuchElementException if this deque is empty

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines