# | 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 | /** |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |