510 |
|
* Inserts the specified element at the end of this list. |
511 |
|
* |
512 |
|
* @param e the element to insert |
513 |
< |
* @return <tt>true</tt> (as per the spec for {@link Deque#offerLast}) |
513 |
> |
* @return <tt>true</tt> (as specified by {@link Deque#offerLast}) |
514 |
|
* @since 1.6 |
515 |
|
*/ |
516 |
|
public boolean offerLast(E e) { |
547 |
|
} |
548 |
|
|
549 |
|
/** |
550 |
< |
* Retrieves and removes the first element of this list, or |
551 |
< |
* <tt>null</tt> if this list is empty. |
550 |
> |
* Retrieves and removes the first element of this list, |
551 |
> |
* or returns <tt>null</tt> if this list is empty. |
552 |
|
* |
553 |
|
* @return the first element of this list, or <tt>null</tt> if |
554 |
|
* this list is empty |
561 |
|
} |
562 |
|
|
563 |
|
/** |
564 |
< |
* Retrieves and removes the last element of this list, or |
565 |
< |
* <tt>null</tt> if this list is empty. |
564 |
> |
* Retrieves and removes the last element of this list, |
565 |
> |
* or returns <tt>null</tt> if this list is empty. |
566 |
|
* |
567 |
|
* @return the last element of this list, or <tt>null</tt> if |
568 |
|
* this list is empty |