- <init>
Constructs a deque containing the elements of the specified collection, in the
order they are return
- addLast
Inserts the specified element at the end of this deque. This method is
equivalent to #add.
- isEmpty
Returns true if this deque contains no elements.
- removeFirst
- add
Inserts the specified element at the end of this deque. This method is
equivalent to #addLast.
- getFirst
- size
Returns the number of elements in this deque.
- clear
Removes all of the elements from this deque. The deque will be empty after this
call returns.
- peekLast
- removeLast
- addAll
- addFirst
Inserts the specified element at the front of this deque.