Code example for LinkedList

Methods: removeLast

0
    public Object removeFirst() {
        return m_list.removeFirst();
    } 
     
    public Object removeLast() {
        return m_list.removeLast();
    } 
     
} // end of class Queue