This how you would add an item:
public void insert (Object item) { Link add = new Link(); add.data = item; add.next = head; _head = add; ++_l
You should do something like this:
public void insert (Object item, int pos) { Link add = new Link(); int ix = pos - 1; Link cur = _head; for (int i = 0; i < _list_size; i++) { if(i == ix) { add.next = cur.next; cur.next = add; } cur = cur.next; } ++_listsize; }