全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Abstract data type?

Definition 24.1 High School Computer Science · 第 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.

在原文中阅读 →
Definition 14.1 University Computer Science — Year 1 · 第 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.

在原文中阅读 →