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.12 by jsr166, Tue Feb 5 17:31:01 2013 UTC

# Line 381 | Line 381 | public interface Deque<E> extends Queue<
381       * Retrieves, but does not remove, the head of the queue represented by
382       * this deque, returning {@code null} if this deque is empty.
383       *
384 <     * <p>This method is equivalent to {@link #peekFirst()}
384 >     * <p>This method is equivalent to {@link #peekFirst()}.
385       *
386       * @return the head of the queue represented by this deque, or
387       *     {@code null} if this deque is empty
# Line 393 | Line 393 | public interface Deque<E> extends Queue<
393       * this deque.  This method differs from the {@code peek} method only in
394       * that it throws an exception if this deque is empty.
395       *
396 <     * <p>This method is equivalent to {@link #getFirst()}
396 >     * <p>This method is equivalent to {@link #getFirst()}.
397       *
398       * @return the head of the queue represented by this deque
399       * @throws NoSuchElementException if this deque is empty

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines