Re: Intersection (was Union) of two Arrays SOLVED
Re: Intersection (was Union) of two Arrays SOLVED
- Subject: Re: Intersection (was Union) of two Arrays SOLVED
- From: David Avendasora <email@hidden>
- Date: Wed, 7 Mar 2007 16:27:19 -0500
NSSet was still the way to go, simply using NSSet.setByIntersectingSet
(NSSet) instead of NSSet.setByUnioningSet(NSSet)
Thanks for all the assistance!
On Mar 7, 2007, at 3:59 PM, David Avendasora wrote:
Doh, Doh, Doh!
I meant intersection, not union. Ahg. Digging more through NSSet,
NSRange, etc.
Sorry all.
Dave
On Mar 7, 2007, at 3:20 PM, Georg von Bülow wrote:
Hi David,
NSArray has a method arrayByAddingObjectsFromArray, so:
array1=array1.arrayByAddingObjectsFromArray(array2);
Regards,
Georg
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:
40moleque.com.br
This email sent to email@hidden
--
\o/ Georg von Bülow, Moleque de Idéias Educação e Tecnologia Ltda
| Phone: 55-21-2710-0178 E-mail: email@hidden
/ \ http://www.moleque.com.br Niterói - Rio de Janeiro - Brasil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40avendasora.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