--- jsr166/src/main/java/util/Deque.java 2005/07/18 19:14:17 1.15 +++ jsr166/src/main/java/util/Deque.java 2006/05/28 23:36:29 1.19 @@ -5,7 +5,6 @@ */ package java.util; -import java.util.*; // for javadoc (till 6280605 is fixed) /** * A linear collection that supports element insertion and removal at @@ -154,7 +153,7 @@ import java.util.*; // for javadoc (till * Object. * *

This interface is a member of the Java Collections + * href="{@docRoot}/../technotes/guides/collections/index.html"> Java Collections * Framework. * * @author Doug Lea @@ -276,7 +275,7 @@ public interface Deque extends Queue< /** * Retrieves, but does not remove, the first element of this deque. - * + * * This method differs from {@link #peekFirst peekFirst} only in that it * throws an exception if this deque is empty. * @@ -534,4 +533,15 @@ public interface Deque extends Queue< * @return an iterator over the elements in this deque in proper sequence */ Iterator iterator(); + + /** + * Returns an iterator over the elements in this deque in reverse + * sequential order. The elements will be returned in order from + * last (tail) to first (head). + * + * @return an iterator over the elements in this deque in reverse + * sequence + */ + Iterator descendingIterator(); + }