From: Michael A. Smith [mailto:[EMAIL PROTECTED]]

>> ArrayIterator was fail-fast.  Unfortunately I can't think of a way to do it
>> that's not really hokey.  ArrayIterator can take an array of primitives, and
>> there is no specific operation I know of to determine if an Object is an
>> array of primatives. :P

>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?


NOTICE
This e-mail and any attachments are confidential and may contain copyright material of 
Macquarie Bank or third parties. If you are not the intended recipient of this email 
you should not read, print, re-transmit, store or act in reliance on this e-mail or 
any attachments, and should destroy all copies of them. Macquarie Bank does not 
guarantee the integrity of any emails or any attached files. The views or opinions 
expressed are the author's own and may not reflect the views or opinions of Macquarie 
Bank. 


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

Reply via email to