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