146 |
|
/** |
147 |
|
* Inserts the given element at the beginning of this list. |
148 |
|
* |
149 |
< |
* @param o the element to be inserted at the beginning of this list. |
149 |
> |
* @param e the element to be inserted at the beginning of this list. |
150 |
|
*/ |
151 |
< |
public void addFirst(E o) { |
152 |
< |
addBefore(o, header.next); |
151 |
> |
public void addFirst(E e) { |
152 |
> |
addBefore(e, header.next); |
153 |
|
} |
154 |
|
|
155 |
|
/** |
156 |
|
* Appends the given element to the end of this list. (Identical in |
157 |
|
* function to the <tt>add</tt> method; included only for consistency.) |
158 |
|
* |
159 |
< |
* @param o the element to be inserted at the end of this list. |
159 |
> |
* @param e the element to be inserted at the end of this list. |
160 |
|
*/ |
161 |
< |
public void addLast(E o) { |
162 |
< |
addBefore(o, header); |
161 |
> |
public void addLast(E e) { |
162 |
> |
addBefore(e, header); |
163 |
|
} |
164 |
|
|
165 |
|
/** |