Re: Usage of iterator and for loop while retrieving values from an ArrayList
Friday, April 16, 2004 05:09 AM
I think the best way to iterate thr. is not by using
iterators or any iterator provided functions.Best way
would be to get the total size in a variable and then
using that we can iterate thr. using for loop or while
loop.This appoach possible minimzes the unecessary
function calls which affects the performance.