This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
Message:
Re: Something I didn't understand
Posted by Brian Sanders on November 08, 2001 at 4:48 PM
You can just ignore everything related to the variable DATA. I was just using it to put dummy data into the lists. That code does the same as the following:
LinkedList names = new LinkedList(); names.add("FirstItem"); ... names.add("FifthItem");LinkedList times = new LinkedList(); names.add(new Long(50)); ... names.add(new Long(10));
Replies:
- Thanks! Eduardo November 08, 2001 at 5:22 PM
(0)
|