Method Summary |
|
void | addFirst(long v) Adds an element to the beginning of this deque. |
void | addLast(long v) Adds an element to the end of this deque. |
long | getFirst() Returns the first element of this deque. |
long | getLast() Returns the last element of this deque. |
long | removeFirst() Removes the first element of this deque. |
long | removeLast() Removes the last element of this deque. |