This scenario only occurs when the class calling the interruptible method is part of a Thread, not a Runnable or general-purpose library code, as illustrated in Listing 5.
只有当调用可中断方法的类是 Thread 的一部分,而不是 Runnable 或通用库代码的情况下,才会发生这样的场景,清单 5 演示了这种情况。
This class is not a real class that can be found in the library. Its purpose is to present the general interface of all the pointer containers.
这个类不是一个能在本库中找到的真实类。它只是为了表示所有指针容器的通用接口。
The design of data structure with this view has very important meaning to software developing. The paper builds a template class library of general data structures.
数据结构的抽象描述和类属模板设计对软件开发有着重要的意义。
应用推荐