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