Search:

Type: Posts; User: BetterCallSaul

Search: Search took 0.27 seconds.

  1. Re: trouble with add and remove method on doubly linked list

    Okay so I'm trying to add an element to the start of a circular doubly-linked list and I am not sure how I am suppose to go about writing this method. Any advice or direction would be greatly...
  2. Re: trouble with add and remove method on doubly linked list

    Thanks for your patience
  3. Re: trouble with add and remove method on doubly linked list

    Thank you for the advice

    However, if I treat the insertion like a would if I was adding the element to the end of the list the code runs through once.


    public void add(Workstation element) {...
  4. Re: trouble with add and remove method on doubly linked list

    list.getBack().setForward(newNode);
  5. Re: trouble with add and remove method on doubly linked list

    Thanks for the advice

    The error message I am receiving is:

    Exception in thread "main" java.lang.NullPointerException
    at cs187.asn03.TokenRingList.add(TokenRingList.java:47)
    at...
  6. trouble with add and remove method on doubly linked list

    Hello,

    I'm new to this forum so I apologize for any mistakes I'm going to make, I'm still learning the ropes. I am writing a token ring simulation program and am using a circular doubly linked...
  7. trouble with add and remove method on doubly linked list

    Hello,

    I'm new to this forum so I apologize for any mistakes I'm going to make, I'm still learning the ropes. I am writing a token ring simulation program and am using a circular doubly linked...
Results 1 to 7 of 7