Search:

Type: Posts; User: gto11520

Search: Search took 0.13 seconds.

  1. Replies
    17
    Views
    1,725

    Re: Deque array base assistant

    Thanks let me try this
  2. Replies
    17
    Views
    1,725

    Re: Deque array base assistant

    public class MyDeque {
    private int maxSize;
    private Item[] queArray;
    private int front;
    private int rear;
    private int nItems;

    public MyDeque(int s) // constructor
    {
    maxSize = s; ...
  3. Replies
    17
    Views
    1,725

    Re: Deque array base assistant

    1. i havent learned linked list quite yet. so i'm not gonna attempt to use linkedlist

    2. below code throws me an error for null pointer

    3. implmentating queue(E) has no error by inserting i...
  4. Replies
    17
    Views
    1,725

    Re: Deque array base assistant

    again i still have issue with my tostring in my dequre class and it isnt working properly. it can't print because its a one way traffic inserting front until full will print normal. or one way...
  5. Replies
    17
    Views
    1,725

    Re: Deque array base assistant

    Thanks. I will test this tonight
  6. Replies
    17
    Views
    1,725

    Re: Deque array base assistant

    thanks zkidkid

    so i will need a flow control within the tostring to check the front and rear ??
  7. Replies
    17
    Views
    1,725

    Re: Deque array base assistant

    the println will only print the front data insertion ...the rear is not printing. thanks for your help
  8. Replies
    17
    Views
    1,725

    Deque array base assistant

    I need help with my deque class i mainly have a issue with my toString where i can naturally insert from the front and print normally
    however when i add anything from the rear and print nothing...
Results 1 to 8 of 8