commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Derek S <cube-s...@rogers.com>
Subject Re: toSet(Object []) missing?
Date Mon, 24 Feb 2003 15:52:24 GMT
Andrew,

Try:
Set result = new HashSet(Arrays.asList(objectArray));

Andrew.Ferguson@arm.com wrote:

>hi,
>
> is there any API to do
>
>      Set   ArrayToSet(Object [])
>
>I can't find anything in the Java API or Commons?
>
>thanks,
>asjf
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
>  
>


Mime
View raw message