loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
37th International Conference on Technology of Object-Oriented Languages and Systems (TOOLS-37'00)
Java Multi-Method Framework
Sydney, Australia
November 20-November 23
ISBN: 0-7695-0918-5
R. Forax, Université' de Marne-la-Vallee
E. Duris, Université' de Marne-la-Vallee
G. Roussel, Université' de Marne-la-Vallee
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. 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. The paper focuses on the algorithms and data structures involved in the method resolution strategy we have implemented in an optional package called Java Multi-Method Framework.
Index Terms:
Java; object-oriented programming; software reusability; data structures; Java Multi-Method Framework; method resolution; late-binding; object-oriented languages; multi-polymorphism; reflection mechanism; algorithms; data structures
Citation:
R. Forax, E. Duris, G. Roussel, "Java Multi-Method Framework," tools, pp.45, 37th International Conference on Technology of Object-Oriented Languages and Systems (TOOLS-37'00), 2000
Usage of this product signifies your acceptance of the Terms of Use.