Removing Elements from Deque

suggest change
//Retrieves and removes the head of the queue represented by this deque
Object headItem = deque.remove();

//Retrieves and removes the first element of this deque.
Object firstItem = deque.removeFirst();

//Retrieves and removes the last element of this deque.
Object lastItem = deque.removeLast();

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents