276 |
|
|
277 |
|
/** |
278 |
|
* Retrieves, but does not remove, the first element of this deque. |
279 |
< |
* |
279 |
> |
* |
280 |
|
* This method differs from {@link #peekFirst peekFirst} only in that it |
281 |
|
* throws an exception if this deque is empty. |
282 |
|
* |
534 |
|
* @return an iterator over the elements in this deque in proper sequence |
535 |
|
*/ |
536 |
|
Iterator<E> iterator(); |
537 |
+ |
|
538 |
+ |
/** |
539 |
+ |
* Returns an iterator over the elements in this deque in reverse |
540 |
+ |
* sequential order. The elements will be returned in order from |
541 |
+ |
* last (tail) to first (head). |
542 |
+ |
* |
543 |
+ |
* @return an iterator over the elements in this deque in reverse |
544 |
+ |
* sequence |
545 |
+ |
*/ |
546 |
+ |
Iterator<E> descendingIterator(); |
547 |
+ |
|
548 |
|
} |