In the class where you have the list, write a method
getSizeOfList
and the plot the output of that method. No need to average it, since it
is just one thing being plotted.
Li An wrote:
Dear Swarm colleagues,
I have a dynamically updated list (object of Java class called
LinkedList) containing objects (persons), and want to graph the size of
the list (rather than get the information (say, age) of individual
persons from the list) over time. Any suggestions on how to do this?
Thanks in advance.
Li
--
Paul E. Johnson email: address@hidden
Dept. of Political Science http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66044-3177 FAX: (785) 864-5700
_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support