NSMutableArray addObject: where is the E?
NSMutableArray addObject: where is the E?
- Subject: NSMutableArray addObject: where is the E?
- From: Gaastra Dennis - WO Lists <email@hidden>
- Date: Thu, 31 Jan 2008 13:18:37 -0800
Dear list,
cc: Pierre
Being new to WO5.4 and generics; we noticed there is no generic type
checking for the method "addObject(Object anObject)" in NSMutableArray.
This appears to be a bit confusing since the regular "objectAtIndex"
does have the "E"
Any reason for this?
Should we use the (newer) method "add(E element)", in order to have
type checking, instead?
Does it perform exactly the same way otherwise?
With Kind Regards,
Dennis Gaastra,
WEBAPPZ
_______________________________________________
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