446 |
|
* {@link #offerLast(Object,long,TimeUnit) #offerLast}. |
447 |
|
* |
448 |
|
* @param e the element to add |
449 |
< |
* @return <tt>true</tt> if it was possible to add the element to |
450 |
< |
* this deque, else <tt>false</tt> |
449 |
> |
* @return <tt>true</tt> if the element was added to this deque, else |
450 |
> |
* <tt>false</tt> |
451 |
|
* @throws InterruptedException {@inheritDoc} |
452 |
|
* @throws ClassCastException if the class of the specified element |
453 |
|
* prevents it from being added to this deque |
573 |
|
public int size(); |
574 |
|
|
575 |
|
/** |
576 |
< |
* Returns an iterator over the elements in this deque. The elements |
577 |
< |
* will be ordered from first (head) to last (tail). |
576 |
> |
* Returns an iterator over the elements in this deque in proper sequence. |
577 |
> |
* The elements will be returned in order from first (head) to last (tail). |
578 |
|
* |
579 |
< |
* @return an <tt>Iterator</tt> over the elements in this deque |
579 |
> |
* @return an iterator over the elements in this deque in proper sequence |
580 |
|
*/ |
581 |
|
Iterator<E> iterator(); |
582 |
|
|