[concurrency-interest] Deque missing tail to head iterator.

Jason Mehrens jason_mehrens at hotmail.com
Wed Sep 7 23:20:44 EDT 2005

Is the absence of "tail to head" iterator (Iterator<E> descendingIterator()) 
an intensional design decision?  I would think since the Deque has two ends 
a user would be able to iterate from either end.   The most apparent case 
for the "tail to head" iterator is the asLifoQueue class as it currently 
iterates from "head to tail".
An RFE was filed against the Stack 
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4475301 for this issue.  
Then again, that bug got zero votes so it must not be too important or maybe 
that could be attributed to the number of Stack users.  Just kidding.

Jason Mehrens

More information about the Concurrency-interest mailing list