3605 |
|
* view can be useful when you would like to use a method |
3606 |
|
* requiring a <tt>Queue</tt> but you need Lifo ordering. |
3607 |
|
* |
3608 |
+ |
* <p>Each method invocation on the queue returned by this method |
3609 |
+ |
* results in exactly one method invocation on the backing deque, with |
3610 |
+ |
* one exception. The {@link Queue#addAll addAll} method is |
3611 |
+ |
* implemented as a sequence of {@link Deque#addFirst addFirst} |
3612 |
+ |
* invocations on the backing deque. |
3613 |
+ |
* |
3614 |
|
* @param deque the deque |
3615 |
|
* @return the queue |
3616 |
|
* @since 1.6 |