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

Comparing jsr166/src/main/java/util/concurrent/ConcurrentLinkedDeque.java (file contents):
Revision 1.44 by jsr166, Thu May 2 06:17:35 2013 UTC vs.
Revision 1.45 by jsr166, Thu May 2 06:38:33 2013 UTC

# Line 1000 | Line 1000 | public class ConcurrentLinkedDeque<E>
1000      }
1001  
1002      public E poll()           { return pollFirst(); }
1003    public E remove()         { return removeFirst(); }
1003      public E peek()           { return peekFirst(); }
1004 +
1005 +    /**
1006 +     * @throws NoSuchElementException {@inheritDoc}
1007 +     */
1008 +    public E remove()         { return removeFirst(); }
1009 +
1010 +    /**
1011 +     * @throws NoSuchElementException {@inheritDoc}
1012 +     */
1013 +    public E pop()            { return removeFirst(); }
1014 +
1015 +    /**
1016 +     * @throws NoSuchElementException {@inheritDoc}
1017 +     */
1018      public E element()        { return getFirst(); }
1019 +
1020 +    /**
1021 +     * @throws NullPointerException {@inheritDoc}
1022 +     */
1023      public void push(E e)     { addFirst(e); }
1007    public E pop()            { return removeFirst(); }
1024  
1025      /**
1026       * Removes the first element {@code e} such that

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines