Re: T5: Loop and ArrayList

2007-08-31 Thread Angelo Chen
Hi Nick, Thanks, got it working, your explanation clarifies points that I can't get from the doc. Nick Westgate wrote: > > The loop assigns each successive item to the value you give. > So for each iteration (item in the list) it will try to call: > setCurrentMember(Member member) > > You nee

Re: T5: Loop and ArrayList

2007-08-31 Thread Nick Westgate
The loop assigns each successive item to the value you give. So for each iteration (item in the list) it will try to call: setCurrentMember(Member member) You need to provide such a member and set/get methods in Java: private currentMember; Then inside the loop you can refer to it using prop not