Search:

Type: Posts; User: Seans0007

Search: Search took 0.20 seconds.

  1. Replies
    3
    Views
    398

    Re: help with circular linked list

    public void moveFirst(T newTail, T newFirst) {
    tail.setData(newTail);
    System.out.println(tail);
    head.setData(newFirst);
    System.out.println(head);


    }
  2. Replies
    3
    Views
    398

    help with circular linked list

    i have an assignment to create a circular linked list.
    after adding to my list and printing it out it looks likt
    "one two three four"
    after using a moveFirst() method and say i wanted to start...
Results 1 to 2 of 2