National Institute of Advanced Industrial Science and Technology (AIST) This page is a page of the former research institute. We stopped updating on March 31.2001.
E-mail to webmaster (Japanese) E-mail to webmaster (English)
next up previous contents index
Next: Message Sending Up: Object Oriented Programming Previous: Object Oriented Programming

Classes and Methods

 

emtabbing2083

  defmethod classname {(selector lambda-list . body)}* [special]   defclassmethod classname {(selector lambda-list . body)}* [macro]   classp object [function]   subclassp class super [function]   vector-class-p x [function]
  • T if x is an instance of vector-class.
  delete-method class method-name [function]
  • The method definition is removed from the specified class.
  class-hierarchy class [function]
  • prints inheritance hierarchy below class.
  system:list-all-classes [function]
  • lists up all the classes defined so far.
  system:find-method object selector [function]
  • tries to find a method specified by selector in the class of object and in its superclass. This is used to know whether object can respond to selector.
  system:method-cache [flag] [function]
  • Interrogates the hit ratio of the method cache, and returns a list of two numbers, hit and miss. If flag is NIL, method caching is disabled. If non-nil flag is given, method cache is purged and caching is enabled.


Hirofumi Nakagaki
Fri Mar 22 12:46:38 JST 1996