...,即 type 实际上是一种对其元素的行为规范(对应以上所述的“一种谓词” [America91]),如抽象数据类型(abstract data types)是较常用的行为规范技术。 Subtype 是根据谓词来修改,而 subclass 是根据模板来修改。
基于60个网页-相关网页
In other words, classes are not usable to implement pure abstract data types.
换句话说,类不能实现纯的数据类型。
Abstract data types naming convention: (Dynamic) Array, Vector, Sequence, List, Container, Buffer.
抽象数据类型的命名约定(动态):数组、向量,序列,列表,容器,缓冲区。
The first two higher-level abstract data types are stacks and queues . They are extremely important to computing.
我们将要讨论的两种更高一级的抽象数据类型是堆栈和队列,它们对计算至关重要。
应用推荐