Data types

10/30/2001


Cliquez ici pour démarrer


Table des matières

Diapositive PPT

Data types

Java data types

Introducing new data type

Example 1 (2)

Example 2: Date data type (1)

Example 2 (2)

Example 2 (3)

Example 2 (4)

Example 3: Date data type again (1)

Example 3 (2)

Public vs. private data representation

Abstract data types

ADT specification (1)

ADT specification (2)

Example 4: contract for Date ADT (1)

En Java - généralité

Spécifier un contrat en Java

Example 4 (2)

Définir une classe conforme à une interface

Exemple 4

Example 4 (4)

ADT implementation (in a class)

Example 5: first implementation of Date ADT (1)

Example 5 (2)

Example 5 (3)

Example 6: second implementation of Date ADT (1)

Example 6 (2)

Example 6 (3)

ADT design (1)

ADT design II (2)

Example 8: design of Date ADT (1)

Example 8 (2)

Strings

String ADTs

Immutable strings: contract (1)

Immutable strings: contract (2)

Immutable strings: contract (3)

Immutable strings: implementations

Mutable strings: contract (1)

Mutable strings: contract (2)

Mutable strings: contract (3)

ADTs in the Java class library

Auteur:Watt