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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to