Associating Selector and Method

Each class has an association list of message selectors and corresponding functions. For example, a circle class might have the method list:


((radius circle-radius)
 (area   circle-area))
where the first item is the selector name and the second item is the corresponding function name.

defmethod updates this list when a new method is defined.

Contents    Page-10    Prev    Next    Page+10    Index