Hello,

I am attempting to make my insert method in the form of a circular list. Each time a new item is inserted it is to take on the tag as "current" Here is my method currently.

However, I have my doubts that this is not entirely circular, I think I need to somehow edit this to include "previous" maybe? Also my current output after inserting 5 integers is as followsCode:`public void insert(long dd) {`

Link newLink = new Link(dd);

if (isEmpty()) {

current = newLink;

}

else {

newLink.next = current.next;

}

current.next = newLink;

count++;

}

However, I would prefer, each new item is inserted after the last "current"Code:`Insert 10`

List: 10

Insert 22

List: 10 22

Insert 5

List: 10 5 22

Insert 44

List: 10 44 5 22

Insert 32

List: 10 32 44 5 22

So it should read

Code:`Insert 10`

List: 10

Insert 22

List: 10 22

Insert 5

List: 10 22 5

Insert 44

List: 10 22 5 44

Insert 32

List: 10 22 5 44 32

Can someone please help me make this circular as well as insert after one another instead of just after 10 each time?

*Also posted at: New To Java - Insert() Method Help (looking for helpful reply tonight)