Pops an element from the stack represented by this deque. In other words, removes and returns the first element of this deque.
This method is equivalent to {@link #removeFirst()}.
@return the element at the front of this deque (which is the topof the stack represented by this deque)
@throws NoSuchElementException if this deque is empty
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.