Search:

Type: Posts; User: gto11520

Search: Search took 0.32 seconds.

  1. Replies
    17
    Views
    284

    Re: Deque array base assistant

    Thanks let me try this
  2. Replies
    17
    Views
    284

    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
    284

    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
    284

    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
    284

    Re: Deque array base assistant

    Thanks. I will test this tonight
  6. Re: Please see multiple questions I got wrong on an exam, what I did wrong?

    _40_23_27
    __0_23_28
    _29 23
    __0_22_30
  7. Re: hex to binary - how do i flush off the leading 0

    i think there is a way to do this without a string.

    look into Bitwise and Bit Shift Operators (The Java™ Tutorials > Learning the Java Language > Language Basics)

    bitshifting may resolve your...
  8. Replies
    17
    Views
    284

    Re: Deque array base assistant

    thanks zkidkid

    so i will need a flow control within the tostring to check the front and rear ??
  9. Replies
    17
    Views
    284

    Re: Deque array base assistant

    the println will only print the front data insertion ...the rear is not printing. thanks for your help
  10. Replies
    17
    Views
    284

    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 10 of 10