Teric
07-11-2002, 03:57 PM
I have created a couple of classes that will allow VB programs to use doubly-linked lists. The linked list class is able to hold any object variable, and even different types of object variables (basic variable types not supported). Currently, the LinkedList class only has three methods:
1. Add -- Allows the program to add an object to the list
2. Delete -- Deletes a node from the list
3. GetFirstNode -- Returns a reference to the list's head node
Please take a look at let me know what you think. I would appreciate any ideas on how these classes could be improved. Thanks!
1. Add -- Allows the program to add an object to the list
2. Delete -- Deletes a node from the list
3. GetFirstNode -- Returns a reference to the list's head node
Please take a look at let me know what you think. I would appreciate any ideas on how these classes could be improved. Thanks!