--- jsr166/src/main/java/util/Deque.java 2005/08/11 16:19:27 1.16 +++ jsr166/src/main/java/util/Deque.java 2011/03/15 19:47:02 1.20 @@ -1,11 +1,10 @@ /* * Written by Doug Lea and Josh Bloch with assistance from members of * JCP JSR-166 Expert Group and released to the public domain, as explained - * at http://creativecommons.org/licenses/publicdomain + * at http://creativecommons.org/publicdomain/zero/1.0/ */ 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 @@ -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(); + }