Data di Pubblicazione:
2010
Abstract:
We present a general technique for extending Java-like languages with dynamic overloading, where method selection depends on the dynamic type of the parameter, instead of just the receiver. To this aim we use a core Java-language enriched with encapsulated multi-methods and dynamic overloading. Then we define an algorithm which translates programs to standard Java code using only basic mechanisms of static overloading and dynamic binding. The translated programs are semantically equivalent to the original versions and preserve type safety.
Tipologia CRIS:
04A-Conference paper in volume
Elenco autori:
Lorenzo Bettini; Sara Capecchi; Betti Venneri
Link alla scheda completa:
Titolo del libro:
Fundamentals of Software Engineering, FSEN'09 Proceedings of the Third IPM international conference on Fundamentals of Software Engineering
Pubblicato in: