Article thumbnail

Java Multi-Method Framework

By Rémi Forax, Etienne Duris and Gilles Roussel

Abstract

In Java, method resolution is done at runtime, by late-binding, with respect to the dynamic type of the target object. Some object-oriented languages such as CLOS propose, in addition, late-binding according to dynamic types of arguments. This feature is known as multi-polymorphism and usually achieved by multi-methods. In this paper, we propose a pure Java framework that provides multi-methods, without extending the base Java language nor modifying its semantics but intensively using the reflection mechanism of the language. This paper focuses on the algorithms and the data structures involved in the method resolution strategy we have implemented in an optional package called Java Multi-Method Framework

Year: 2000
OAI identifier: oai:CiteSeerX.psu:10.1.1.22.9649
Provided by: CiteSeerX
Download PDF:
Sorry, we are unable to provide the full text but you may find it at the following location(s):
  • http://citeseerx.ist.psu.edu/v... (external link)
  • http://igm.univ-mlv.fr/~duris/... (external link)
  • Suggested articles


    To submit an update or takedown request for this paper, please submit an Update/Correction/Removal Request.