On Tue, 19 Mar 2002, Tim Vernum wrote:
> >yeah, I think I did mean ArrayIterator.  The simple way of doing this
> >would be to use Array.getLength(array).  That does the checking for you.  
> 
> Doesn't obj.getClass().isArray() work?

Yup, but we need to calculate the length of the array anyway to properly 
implement hasNext.  See my commit that should be arriving momentarily. 

michael



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to