- addLast
Inserts the specified element at the end of this deque if it is possible to do
so immediately withou
- getLast
Retrieves, but does not remove, the last element of this deque. This method
differs from #peekLast o
- isEmpty
- peekLast
Retrieves, but does not remove, the last element of this deque, or returns null
if this deque is em
- removeLast
Retrieves and removes the last element of this deque. This method differs from
#pollLast only in tha
- add
Inserts the specified element into the queue represented by this deque (in other
words, at the tail
- clear
- peekFirst
Retrieves, but does not remove, the first element of this deque, or returns null
if this deque is e
- removeFirst
Retrieves and removes the first element of this deque. This method differs from
#pollFirst only in t
- size
Returns the number of elements in this deque.