[cvs] / jsr166 / src / main / java / util / concurrent / LinkedTransferQueue.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/concurrent/LinkedTransferQueue.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35, Sun Nov 14 02:33:58 2010 UTC revision 1.36, Fri Nov 19 08:02:10 2010 UTC
# Line 8  Line 8 
8    
9  import java.util.AbstractQueue;  import java.util.AbstractQueue;
10  import java.util.Collection;  import java.util.Collection;
 import java.util.ConcurrentModificationException;  
11  import java.util.Iterator;  import java.util.Iterator;
12  import java.util.NoSuchElementException;  import java.util.NoSuchElementException;
13  import java.util.Queue;  import java.util.Queue;
# Line 1143  Line 1142 
1142      }      }
1143    
1144      /**      /**
1145       * Returns an iterator over the elements in this queue in proper       * Returns an iterator over the elements in this queue in proper sequence.
1146       * sequence, from head to tail.       * The elements will be returned in order from first (head) to last (tail).
1147       *       *
1148       * <p>The returned iterator is a "weakly consistent" iterator that       * <p>The returned iterator is a "weakly consistent" iterator that
1149       * will never throw       * will never throw {@link java.util.ConcurrentModificationException
1150       * {@link ConcurrentModificationException ConcurrentModificationException},       * ConcurrentModificationException}, and guarantees to traverse
1151       * and guarantees to traverse elements as they existed upon       * elements as they existed upon construction of the iterator, and
1152       * construction of the iterator, and may (but is not guaranteed       * may (but is not guaranteed to) reflect any modifications
1153       * to) reflect any modifications subsequent to construction.       * subsequent to construction.
1154       *       *
1155       * @return an iterator over the elements in this queue in proper sequence       * @return an iterator over the elements in this queue in proper sequence
1156       */       */

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8