可以很直观地写出对堆栈类的单元测试。
当服务器报告一个意外的异常时,您可以检查关联堆栈跟踪的类和方法,来确定哪个应用程序导致了异常或者与异常有关。
When the server reports an unexpected exception, you can examine the classes and methods of the associated stack trace to determine which application caused, or was involved in, the exception.
调用类和它的上级(即所有在它上面的堆栈帧)的权限集都不包括在交集计算中。
The permissions sets of the caller class and its ancestors (that is, all stack frames above this one) are not included in computing the intersection set.
取自所观察到的特定症状的非常特定的关键字,例如错误消息或错误编号,或者在堆栈跟踪中找到的类或方法名称,等等。
Very specific keywords taken from specific symptoms that you observed, such as an error message or error number, or the name of a class or method found in a stack trace, and so on.
我们没有直接在相册应用程序中建立历史堆栈,而是用一个简单的页面测试这个类。
Rather than building the history stack directly into the photo gallery, we generated a simple page to test our class.
图2左侧的堆栈演示的集成构建除了编译源代码、将类打包为二进制文件、在操作系统上部署软件之外,什么也没做。
The stack on the left in Figure 2 illustrates an integration build that doesn't do much more than compile source code, package classes into a binary, and deploy software into an operating environment.
对于设计级别的类(诸如树、堆栈、队列、集合等等)可以在后面的阶段完成(如设计阶段)。
The identification of design-level classes (e.g., trees, stacks, queues, collections, etc.) should be deferred to a later discipline (i.e. design).
清单3 中的LeakyStack类展示了用数组实现的堆栈的实现。
The LeakyStack class in Listing 3 shows an implementation of a stack backed by an array.
在类unix系统上,每个进程都可以划分为三个主要区域:文本、数据和堆栈。
On UNIX-like systems, every process can be divided into three main regions: text, data, and stack.
信息包括线程、锁、堆栈等方面的数据,以及关于系统中类装入器的丰富信息。
This information includes data about threads, locks, stacks, and so on, as well as a rich set of information about the class loaders in the system.
定义了管理任何cookie的方法之后,可以编写另外两个类专门处理历史堆栈的类。
Once we have defined the methods for managing arbitrary cookies, we can write two more classes that will handle the specific tasks of reading and writing the history stack.
堆栈滤波器是一类能够有效滤除脉冲类噪声,同时能较好地保护图象边缘与细节的非线性滤波器。
As a kind of nonlinear filters, stack filters can suppress impulse noise effectively, and keep edges and details at the same time.
泛型类最常用于集合,如链接列表、哈希表、堆栈、队列、树等。
The most common use for generic classes is with collections like linked lists, hash tables, stacks, queues, trees, and so on.
由于类构造函数中的调用堆栈状态的定义不完善,所以放置在构造函数中的堆栈步重写可能会产生意外结果。
Because the state of the call stack in a class constructor is not well defined, stack walk overrides placed in constructors can produce unexpected and undesired results.
由于类构造函数中的调用堆栈状态的定义不完善,所以放置在构造函数中的堆栈步重写可能会产生意外结果。
Because the state of the call stack in a class constructor is not well defined, stack walk overrides placed in constructors can produce unexpected and undesired results.
应用推荐