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

Comparing jsr166/src/main/java/util/Deque.java (file contents):
Revision 1.16 by jsr166, Thu Aug 11 16:19:27 2005 UTC vs.
Revision 1.19 by jsr166, Sun May 28 23:36:29 2006 UTC

# Line 5 | Line 5
5   */
6  
7   package java.util;
8 import java.util.*; // for javadoc (till 6280605 is fixed)
8  
9   /**
10   * A linear collection that supports element insertion and removal at
# Line 154 | Line 153 | import java.util.*; // for javadoc (till
153   * <tt>Object</tt>.
154   *
155   * <p>This interface is a member of the <a
156 < * href="{@docRoot}/../guide/collections/index.html"> Java Collections
156 > * href="{@docRoot}/../technotes/guides/collections/index.html"> Java Collections
157   * Framework</a>.
158   *
159   * @author Doug Lea
# Line 534 | Line 533 | public interface Deque<E> extends Queue<
533       * @return an iterator over the elements in this deque in proper sequence
534       */
535      Iterator<E> iterator();
536 +
537 +    /**
538 +     * Returns an iterator over the elements in this deque in reverse
539 +     * sequential order.  The elements will be returned in order from
540 +     * last (tail) to first (head).
541 +     *
542 +     * @return an iterator over the elements in this deque in reverse
543 +     * sequence
544 +     */
545 +    Iterator<E> descendingIterator();
546 +
547   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines