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

Comparing jsr166/src/main/java/util/concurrent/ConcurrentLinkedDeque.java (file contents):
Revision 1.79 by jsr166, Thu Dec 8 05:03:37 2016 UTC vs.
Revision 1.80 by jsr166, Tue Dec 20 22:37:31 2016 UTC

# Line 1367 | Line 1367 | public class ConcurrentLinkedDeque<E>
1367  
1368      /** Forward iterator */
1369      private class Itr extends AbstractItr {
1370 +        Itr() {}                        // prevent access constructor creation
1371          Node<E> startNode() { return first(); }
1372          Node<E> nextNode(Node<E> p) { return succ(p); }
1373      }
1374  
1375      /** Descending iterator */
1376      private class DescendingItr extends AbstractItr {
1377 +        DescendingItr() {}              // prevent access constructor creation
1378          Node<E> startNode() { return last(); }
1379          Node<E> nextNode(Node<E> p) { return pred(p); }
1380      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines