1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Rep Power

    Double-ended queue java help

    1.) A deque is a list-based collection that allows additions and removals to take place at both ends. A deque supports the operations addFront(x), removeFront(), addRear(x), removerRear(), size(), and empty(). Write a class that implements a deque that stores strings using a doubly-linked list that you code yourself. Demonstrate your class with a graphical user interface that allows user to manipulate the deque by typing appropriate commands in a JTextField component, and see the current state of the deque displayed in a JTextArea component. Consult the documentation for the JTextArea class methods you can use to display each item in the dequie on its own line.
  2. #2
  3. Contributing User
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Aug 2010
    Eastern Florida
    Rep Power
    Do you have any specific questions about your assignment?
    Please post your code and any questions about problems you are having.

IMN logo majestic logo threadwatch logo seochat tools logo