464 |
|
* Retrieves, but does not remove, the head of the queue represented by |
465 |
|
* this deque, returning {@code null} if this deque is empty. |
466 |
|
* |
467 |
< |
* <p>This method is equivalent to {@link #peekFirst} |
467 |
> |
* <p>This method is equivalent to {@link #peekFirst}. |
468 |
|
* |
469 |
|
* @return the head of the queue represented by this deque, or |
470 |
|
* {@code null} if this deque is empty |
478 |
|
* this deque. This method differs from the {@code peek} method only in |
479 |
|
* that it throws an exception if this deque is empty. |
480 |
|
* |
481 |
< |
* <p>This method is equivalent to {@link #getFirst} |
481 |
> |
* <p>This method is equivalent to {@link #getFirst}. |
482 |
|
* |
483 |
|
* @return the head of the queue represented by this deque |
484 |
|
* @throws NoSuchElementException if this deque is empty |