RE: ArrayList problem

2003-11-05 Thread Derek Richardson
Look at lazyList(): http://jakarta.apache.org/commons/collections/api/org/apache/commons/collections/ListUtils.html -Original Message- From: Jian Dai [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 3:40 PM To: Struts Users Mailing List Subject: RE: ArrayList problem If you

RE: ArrayList problem

2003-11-05 Thread Jian Dai
: ArrayList problem hello jack, thanks for the input, so how do i rectify that (which amounts to spoon feeding) but now iam shameless :(. HELP Jian Dai wrote: > The ArrayList.ensureCapacity(int min) does not change the size. So even > the minimum capacity of this array increase, this s

Re: ArrayList problem

2003-11-05 Thread Rajat Pandit
hello jack, thanks for the input, so how do i rectify that (which amounts to spoon feeding) but now iam shameless :(. HELP Jian Dai wrote: The ArrayList.ensureCapacity(int min) does not change the size. So even the minimum capacity of this array increase, this size of this array still keeps sam

RE: ArrayList problem

2003-11-04 Thread Jian Dai
The ArrayList.ensureCapacity(int min) does not change the size. So even the minimum capacity of this array increase, this size of this array still keeps same. if the size happens to be less than the minicapacity (in your case), the error will occurs. If you check the size value, I bet it will less