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

Comparing jsr166/src/jdk7/java/util/ArrayDeque.java (file contents):
Revision 1.2 by jsr166, Wed Feb 20 12:27:14 2013 UTC vs.
Revision 1.3 by jsr166, Tue Feb 26 17:28:00 2013 UTC

# Line 609 | Line 609 | public class ArrayDeque<E> extends Abstr
609          }
610      }
611  
612 +    /**
613 +     * This class is nearly a mirror-image of DeqIterator, using tail
614 +     * instead of head for initial cursor, and head instead of tail
615 +     * for fence.
616 +     */
617      private class DescendingIterator implements Iterator<E> {
613        /*
614         * This class is nearly a mirror-image of DeqIterator, using
615         * tail instead of head for initial cursor, and head instead of
616         * tail for fence.
617         */
618          private int cursor = tail;
619          private int fence = head;
620          private int lastRet = -1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines