Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Abstract data type » ?

Definition 24.1 High School Computer Science · Chapitre 24 — Linked Lists, Stacks and Queues

An abstract data type is a kind of data defined only by its operations and what each one does: an interface with its specifications. How the data is stored, its implementation, is left out; one abstract data type can have several implementations, and a program that uses only the interface works with any of them.

Lire dans le chapitre →
Definition 14.1 University Computer Science — Year 1 · Chapitre 14 — Dynamic Arrays and Amortised Analysis

An abstract data type is a type given by a set of operations and their specification, without saying how its values are represented. Its interface is the list of the operations with their signatures; an implementation chooses a representation and writes the operations. Code that uses only the interface works unchanged with any implementation that meets the specification.

Lire dans le chapitre →