Current approach: Iterate over list and transform objects to doubles, inserting these doubles into a double[] and passing it to the appropriate UnivarStatistic object's evaluate method.
Primarily Issue: The double[] is regenerated for every getXXX call.
Pros: The "change in state" of the external list doesn't need to be monitored.
Cons: Not a very efficient means of working with the Lists.
Would it would be better if the state of the list could be monitored and the double[] regenerated if an object has been added/removed from the list? Are there known means of "listening to Collections".
-Mark
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
