inria-00434452, version 1
Modular Specification of Java Programs
Elena Tushkanova
1Alain Giorgetti
a, 1Claude Marché
2, 3Olga Kouchnarenko
1
N° RR-7097 (2009)
Abstract: This work investigates the question of modular specification of generic Java classes and methods. The first part introduces a specification language for Java programs. In the second part the language is used to specify an array sorting algorithm by selection. The third and the fourth parts define a syntax proposal for the specification a generic Java programs, through two examples. The former is the specification of the generic method for sorting arrays which comes in the java.util.Arrays class of the Java API. The latter is the specification of the java.util.HashMap class and its use for memoization.
- a – Université de Franche-Comté
- 1: Laboratoire d'Informatique de Franche-Comté (LIFC)
- Université de Franche-Comté : EA4269
- 2: PROVAL (INRIA Saclay - Ile de France)
- INRIA – Université Paris XI - Paris Sud – CNRS : UMR
- 3: Laboratoire de Recherche en Informatique (LRI)
- CNRS : UMR8623 – Université Paris XI - Paris Sud
- Collaboration : ARC CeProMi (http://www.lri.fr/cepromi/)
- Domain : Computer Science/Logic in Computer Science
- Internal note : RR-7097
- inria-00434452, version 1
- http://hal.inria.fr/inria-00434452
- oai:hal.inria.fr:inria-00434452
- From: Claude Marché
- Submitted on: Monday, 23 November 2009 12:31:22
- Updated on: Wednesday, 25 November 2009 10:56:08






Associated documents
Export