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

Comparing jsr166/src/main/java/util/LinkedList.java (file contents):
Revision 1.9 by dl, Sat Oct 18 12:29:27 2003 UTC vs.
Revision 1.11 by jsr166, Tue Oct 21 05:11:40 2003 UTC

# Line 68 | Line 68 | package java.util;
68   * @see     Vector
69   * @see     Collections#synchronizedList(List)
70   * @since 1.2
71 < * @param <E> the base class of all elements held in this collection
71 > * @param <E> the type of elements held in this collection
72   */
73  
74   public class LinkedList<E>
# Line 487 | Line 487 | public class LinkedList<E>
487      /**
488       * Adds the specified element as the tail (last element) of this list.
489       *
490 <     * @param x the element to add.
490 >     * @param o the element to add.
491       * @return <tt>true</tt> (as per the general contract of
492       * <tt>Queue.offer</tt>)
493       * @since 1.5
494       */
495 <    public boolean offer(E x) {
496 <        return add(x);
495 >    public boolean offer(E o) {
496 >        return add(o);
497      }
498  
499      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines