class dispatch table has duplicate names right?
class dispatch table has duplicate names right?
- Subject: class dispatch table has duplicate names right?
- From: Ben Dougall <email@hidden>
- Date: Wed, 9 Jul 2003 14:36:18 +0100
from the obj-c pdf pg 88:
A class dispatch table. This table has entries that associate method
selectors with
the class-specific addresses of the methods they identify. The selector
for the
setOrigin:: method is associated with the address of (the procedure that
implements) setOrigin::, the selector for the display method is
associated with
displays address, and so on.
i don't quite understand this because methods of the same name can be
implemented within multiple classes.
does that just mean that the 'class dispatch table' simply includes
duplicate, identical method names for however many times that name is
implemented in all the classes, each with its own associated address?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.