ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/loops/SynchronizedLinkedListQueue.java
(Generate patch)

Comparing jsr166/src/test/loops/SynchronizedLinkedListQueue.java (file contents):
Revision 1.2 by dl, Mon Feb 19 00:46:06 2007 UTC vs.
Revision 1.3 by jsr166, Thu Oct 29 23:09:08 2009 UTC

# Line 11 | Line 11 | import java.util.concurrent.locks.*;
11   public class SynchronizedLinkedListQueue<E>
12      extends AbstractCollection<E> implements Queue<E> {
13      private final Queue<E> q = new LinkedList<E>();
14 <    
14 >
15      public synchronized Iterator<E> iterator() {
16          return q.iterator();
17      }
# Line 74 | Line 74 | public class SynchronizedLinkedListQueue
74      }
75  
76   }
77

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines