Tuesday, July 20, 2010

Java programming!!! I need an example code for a doubly-linked list of arrays...?

I'm trying to write a linked list. Each node is an array of 10 integers. I want to be able to add in integers, remove integers, and have a count of how many integers are in each array and how many nodes there are in my list.





Any link that has an example that relates to what I'm trying to write would be very much appreciated.

Java programming!!! I need an example code for a doubly-linked list of arrays...?
Is it for school? Because if you need it in a real-world application, Java already provides all the data structures you need. In your case, java.util.LinkedList and a trivial int[10] (or Integer[10] if you plan to allow null values).


No comments:

Post a Comment