mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8314896: additional clarifications to reversed() default methods' implementation requirements
Reviewed-by: bchristi
This commit is contained in:
parent
2d46b29728
commit
3f6d01687c
4 changed files with 12 additions and 12 deletions
|
@ -622,9 +622,9 @@ public interface Deque<E> extends Queue<E>, SequencedCollection<E> {
|
|||
* to this Deque. Other operations on the view are implemented via calls to
|
||||
* public methods on this Deque. The exact relationship between calls on the
|
||||
* view and calls on this Deque is unspecified. However, order-sensitive
|
||||
* operations generally delegate to the appropriate method with the opposite
|
||||
* orientation. For example, calling {@code getFirst} on the view results in
|
||||
* a call to {@code getLast} on this Deque.
|
||||
* operations generally behave as if they delegate to the appropriate method
|
||||
* with the opposite orientation. For example, calling {@code getFirst} on
|
||||
* the view might result in a call to {@code getLast} on this Deque.
|
||||
*
|
||||
* @return a reverse-ordered view of this collection, as a {@code Deque}
|
||||
* @since 21
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue