4 |
|
*/ |
5 |
|
|
6 |
|
package java.util; |
7 |
+ |
import java.util.*; // for javadoc |
8 |
|
import java.io.*; |
9 |
|
|
10 |
|
/** |
203 |
|
|
204 |
|
/** |
205 |
|
* Inserts the specified element at the end of this deque. |
206 |
< |
* This method is equivalent to {@link #add} and {@link #push}. |
206 |
> |
* |
207 |
> |
* <p>This method is equivalent to {@link #add}. |
208 |
|
* |
209 |
|
* @param e the element to add |
210 |
|
* @throws NullPointerException if the specified element is null |
652 |
|
* <p>The returned array will be "safe" in that no references to it are |
653 |
|
* maintained by this deque. (In other words, this method must allocate |
654 |
|
* a new array). The caller is thus free to modify the returned array. |
655 |
< |
* |
655 |
> |
* |
656 |
|
* <p>This method acts as bridge between array-based and collection-based |
657 |
|
* APIs. |
658 |
|
* |