Re: Union of two Arrays
Re: Union of two Arrays
- Subject: Re: Union of two Arrays
- From: James Cicenia <email@hidden>
- Date: Wed, 7 Mar 2007 14:16:09 -0600
I use NSSet a lot. Seems to work great for me.
NSSet set1 = new NSSet(your nsarray1);
NSSet set2 = new NSSet(your nsarray2);
nsarray3 = (set1.setByUnioningSet(set2)).allObjects();
or something like that
James Cicenia
On Mar 7, 2007, at 1:56 PM, David Avendasora wrote:
Hi all,
Is there an easy (WO or plain Java) way to derive the union of two
NSArrays?
Thanks!
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40jimijon.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden