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

Comparing jsr166/src/main/java/util/AbstractQueue.java (file contents):
Revision 1.1 by tim, Sun May 18 18:10:02 2003 UTC vs.
Revision 1.5 by tim, Sat Jul 26 13:17:51 2003 UTC

# Line 1 | Line 1
1 + /*
2 + * Written by Doug Lea with assistance from members of JCP JSR-166
3 + * Expert Group and released to the public domain. Use, modify, and
4 + * redistribute this code in any way without acknowledgement.
5 + */
6 +
7   package java.util;
8  
9   /**
# Line 5 | Line 11 | package java.util;
11   * element based on offer, poll, and peek, respectively but that throw
12   * exceptions instead of indicating failure via false or null returns.
13   * The provided implementations all assume that the base implementation
14 < * does <em>not</em> allow null elements.
14 > * does <em>not</em> allow <tt>null</tt> elements.
15 > * @since 1.5
16 > * @author Doug Lea
17   */
18 +
19   public abstract class AbstractQueue<E> extends AbstractCollection<E> implements Queue<E> {
20  
21      public boolean add(E x) {
# Line 37 | Line 46 | public abstract class AbstractQueue<E> e
46              ;
47      }
48  
49 +    public abstract Iterator<E> iterator();
50   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines