Thanks let me try this
Type: Posts; User: gto11520
Thanks let me try this
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; ...
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...
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...
Thanks. I will test this tonight
thanks zkidkid
so i will need a flow control within the tostring to check the front and rear ??
the println will only print the front data insertion ...the rear is not printing. thanks for your help
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...