The browser you are using is not supported by this website. All versions of Internet Explorer are no longer supported, either by us or Microsoft (read more here: https://www.microsoft.com/en-us/microsoft-365/windows/end-of-ie-support).

Please use a modern browser to fully experience our website, such as the newest versions of Edge, Chrome, Firefox or Safari etc.

Multitudes of Objects: First Implementation and Case Study for Java

Author

Summary, in English

In object-oriented programs, the relationship of an object to

many objects is usually implemented using indirection through a collection.

This is in contrast to a relationship to one object, which is usually

implemented directly. However, using collections for relationships to many

objects does not only mean that accessing the related objects always requires

accessing the collection first, it also presents a lurking maintenance

problem that manifests itself when a relationship needs to be changed from

to-one to to-many or vice versa. Continuing our prior work on fixing this

problem, we show how we have extended the Java 7 programming language

with multiplicities, that is, with expressions that evaluate to a number of

objects not wrapped in a container, and report on the experience we have

gathered using these multiplicities in a case study.

Topic

  • Computer Science

Keywords

  • Java
  • Multiplicities
  • Compiler Design
  • Language Design
  • Programming Language Design

Status

Published

Project

  • Contributions to Declarative Implementation of Static Program Analysis
  • ELLIIT LU P05: Scalable Language Tools for Cyber-Physical Systems

Research group

  • LUCAS

ISBN/ISSN/Other

  • ISSN: 1660-1769