loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Technology of Object-Oriented Languages and Systems
Reasoning About Polymorphic Behavior
Santa Barbara, California
August 03-August 07
ISBN: 0-8186-8482-8
Neelam Soundarajan, Ohio State University
Stephen Fridella, Ohio State University
The standard approach to dealing with OO polymorphism is to require subclasses to be behavioral subtypes of the base class. This ensures that reasoning that has been done about any client code that operates on base class objects will continue to be valid if instances of the subclasses are used in place of the base class objects. But often we are interested in stronger properties of the client code, in particular that its behavior will be appropriate to the {\em specific} subclass objects that are used, rather than just generic behavior that ignores the differences between the different subclasses. We present some examples to illustrate the problem, and propose a method of reasoning that allows us to establish stronger properties of the client code on the basis of the richer behavior provided by the appropriate derived classes.
Index Terms:
Polymorphism, Specification and Verification, Behavioral Subtyping, Enriching Behavior.
Citation:
Neelam Soundarajan, Stephen Fridella, "Reasoning About Polymorphic Behavior," tools, pp.346, Technology of Object-Oriented Languages and Systems, 1998
Usage of this product signifies your acceptance of the Terms of Use.