5 |
|
*/ |
6 |
|
|
7 |
|
package java.util; |
8 |
– |
import java.util.*; // for javadoc (till 6280605 is fixed) |
8 |
|
|
9 |
|
/** |
10 |
|
* A linear collection that supports element insertion and removal at |
275 |
|
|
276 |
|
/** |
277 |
|
* Retrieves, but does not remove, the first element of this deque. |
278 |
< |
* |
278 |
> |
* |
279 |
|
* This method differs from {@link #peekFirst peekFirst} only in that it |
280 |
|
* throws an exception if this deque is empty. |
281 |
|
* |
533 |
|
* @return an iterator over the elements in this deque in proper sequence |
534 |
|
*/ |
535 |
|
Iterator<E> iterator(); |
536 |
+ |
|
537 |
+ |
/** |
538 |
+ |
* Returns an iterator over the elements in this deque in reverse |
539 |
+ |
* sequential order. The elements will be returned in order from |
540 |
+ |
* last (tail) to first (head). |
541 |
+ |
* |
542 |
+ |
* @return an iterator over the elements in this deque in reverse |
543 |
+ |
* sequence |
544 |
+ |
*/ |
545 |
+ |
Iterator<E> descendingIterator(); |
546 |
+ |
|
547 |
|
} |