String[] names = new String[ namesVector.size() ];
namesVector.copyInto( names );


-Matt
There are 10 kinds of people in this world. Those who think in binary, and
those who don't. 

> -----Original Message-----
> From: Dominique Devienne [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 24, 2003 1:57 PM
> To: Ant Developers List
> Subject: JDK 1.1 question
> 
> 
> What's one to use in Ant to be JDK 1.1 equivalent to this:
> 
> String[] names = (String[]) namesVector.toArray(new
> String[namesVector.size()]);
> 
> And I hope it's not a manual enumeration... I don't see it in
> CollectionsUtil.
> 
> Thanks, --DD
> 
> PS: JDK 1.1 is really a PITA IMHO. Lets go Java 2 at least!!!
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

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

Reply via email to