Andrew,

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

[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






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



Reply via email to