Title :
Java Multi-Method Framework
Author :
Forax, Rémi ; Duris, Etienne ; Roussel, Gilles
Author_Institution :
Inst. Gaspard Monge, Univ. de Marne-la-Vallee, France
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. 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
Keywords :
Java; data structures; object-oriented programming; software reusability; Java Multi-Method Framework; algorithms; data structures; late-binding; method resolution; multi-polymorphism; object-oriented languages; reflection mechanism; Application software; Data structures; Encapsulation; Java; Packaging machines; Programming; Reflection; Runtime; Testing; Virtual machining;
Conference_Titel :
Technology of Object-Oriented Languages and Systems, 2000. TOOLS-Pacific 2000. Proceedings. 37th International Conference on
Conference_Location :
Sydney, NSW
Print_ISBN :
0-7695-0918-5
DOI :
10.1109/TOOLS.2000.891357