[EMAIL PROTECTED] wrote:
thanks for the replies,
do you think its worth adding to commons?
I would not be the person to make such a decision. But it seems easier to use the solution Derek S provided. I had forgotten that you could just pass the List as an argument to a Set constructor to get the effect you wanted.
Derek S said:
Andrew,
Try:
Set result = new HashSet(Arrays.asList(objectArray));
Erik
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
