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

Comparing jsr166/src/main/java/util/ArrayDeque.java (file contents):
Revision 1.51 by jsr166, Wed Feb 20 12:39:06 2013 UTC vs.
Revision 1.52 by jsr166, Tue Feb 26 17:28:00 2013 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines