ePrints.FRI - University of Ljubljana, Faculty of Computer and Information Science

Multiple dispatch in Java

Julija Petrič (2017) Multiple dispatch in Java. EngD thesis.

[img]
Preview
PDF
Download (340Kb)

    Abstract

    In this thesis we talk about dispatch mechanisms. Object oriented programming languages are divided into two main categories: programming languages that supports single dispatch and programming languages that supports multiple dispatch. In single dispatch languages the method to be executed is selected by the dynamic type of the receiver object and static types of method parameters. However, single dispatch has several limitations. Consequently, a growing number of programming languages enables a multiple dispatch, where the method to be executed is selected by the dynamic type of all arguments of method call. Here, different multiple dispatch simulation techniques in java programming language, which otherwise supports only single dispatch, are discussed. We performed simple test programs to evalue the runtime of each individual technique.

    Item Type: Thesis (EngD thesis)
    Keywords: multiple dispatch, single dispatch, double dispatch
    Number of Pages: 61
    Language of Content: Slovenian
    Mentor / Comentors:
    Name and SurnameIDFunction
    doc. dr. Jurij Mihelič305Mentor
    Link to COBISS: http://www.cobiss.si/scripts/cobiss?command=search&base=51012&select=(ID=1537535939)
    Institution: University of Ljubljana
    Department: Faculty of Computer and Information Science
    Item ID: 3948
    Date Deposited: 14 Sep 2017 15:56
    Last Modified: 25 Sep 2017 09:34
    URI: http://eprints.fri.uni-lj.si/id/eprint/3948

    Actions (login required)

    View Item