If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

All datatypes (other than the simple/base/elemental types int, short, float, char, boolean, etc.) are "reference" types. When you use the instance's name, you are passing a reference to the memory location where the object is being stored. So, when you build your linked list, you will not be copying objects, but storing references to the next Node and the element being stored in the Node of interest. The location's name acts, almost, like a pointer.

So ... what's holding you up? Just write a Node class which has the links you want (prior, next, parent, child, whatever) as some of the fields and the methods you need to manipulate your element.