| Modifier and Type | Class and Description |
|---|---|
| pack-priv static interface | AccessOrderDeque.AccessOrder<T extends AccessOrderDeque.
An element that is linked on the |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | contains(Object
element whose presence in this deque is to be tested o)Implements abstract com. Implements java. true if this deque contains the specified element.
|
| pack-priv boolean | |
| public @Nullable E | getNext(E e)
Implements com. |
| public @Nullable E | getPrevious(E e)
Implements com. |
| public boolean | remove(Object
element to be removed from this deque, if present o)Implements abstract com. Implements java. |
| pack-priv boolean | |
| public void | |
| public void |
| AccessOrderDeque | back to summary |
|---|---|
| pack-priv AccessOrderDeque() | |
| contains | back to summary |
|---|---|
| public boolean contains(Object o) Implements abstract com. Implements java. Doc from java. Returns | |
| contains | back to summary |
|---|---|
| pack-priv boolean contains(AccessOrderDeque. | |
| getNext | back to summary |
|---|---|
| public @Nullable E getNext(E e) Implements com. Doc from com. Retrieves the next element or null if either the element is unlinked or the last element on the deque.
| |
| getPrevious | back to summary |
|---|---|
| public @Nullable E getPrevious(E e) Implements com. Doc from com. Retrieves the previous element or null if either the element is unlinked or the first element on the deque.
| |
| remove | back to summary |
|---|---|
| public boolean remove(Object o) Implements abstract com. Implements java. Doc from java. Removes the first occurrence of the specified element from this deque.
If the deque does not contain the element, it is unchanged.
More formally, removes the first element This method is equivalent to
| |
| remove | back to summary |
|---|---|
| pack-priv boolean remove(E e) | |
| setNext | back to summary |
|---|---|
public void setNext(E e, @Nullable E next)
| |
| setPrevious | back to summary |
|---|---|
public void setPrevious(E e, @Nullable E prev)
| |
Deque.
| Modifier and Type | Method and Description |
|---|---|
| public @Nullable T | getNextInAccessOrder()
Retrieves the next element or null if either the element is unlinked or the last element on the deque. |
| public @Nullable T | getPreviousInAccessOrder()
Retrieves the previous element or null if either the element is unlinked or the first element on the deque. |
| public void | |
| public void |
| getNextInAccessOrder | back to summary |
|---|---|
| public @Nullable T getNextInAccessOrder() Retrieves the next element or null if either the element is unlinked or the last element on the deque. | |
| getPreviousInAccessOrder | back to summary |
|---|---|
| public @Nullable T getPreviousInAccessOrder() Retrieves the previous element or null if either the element is unlinked or the first element on the deque. | |
| setNextInAccessOrder | back to summary |
|---|---|
| public void setNextInAccessOrder(@Nullable T next) Sets the next element or null if there is no link. | |
| setPreviousInAccessOrder | back to summary |
|---|---|
| public void setPreviousInAccessOrder(@Nullable T prev) Sets the previous element or null if there is no link. | |