栈类应当受益于指定元素类型的能力。有了泛型以后,这个将成为可能。
The Stack class would clearly benefit from the ability to specify its element type. With generics, that becomes possible.
要使操作成功完成,调用栈中的每个类必须有必需的许可权。
Each class in the calling stack must have the required permissions for the operations to complete successfully.
我们使用“类栈”作为使用项目和包所创建的范例的名字。
We use "classictalk" as the name of the example created with these projects and packages.
调用栈的检查在遇到PrivilegedAction实例时停止,有效地将执行指定操作所必需的许可权授予所有的后继类调用。
The check of the calling stack stops when it encounters a PrivilegedAction instance, effectively granting all subsequent class calls the required permission to perform the specified operation.
这意味着复杂的数据结构可以表示成类,Web服务栈能够自动将类属性映射到WSDL文件中定义的数据类型。
This means the complex data structures can be represented as classes and the Web Services stack will automatically map the class attributes to the data types defined in the WSDL file.
在这个例子中,栈记录显示,是由于RuntimeSpy透视图的打开而最终导致了itextviewer类的加载,如高亮的栈记录行底部所示。
In this case, the stack trace shows the ITextViewer class was ultimately loaded because the Runtime Spy perspective was opened, as shown at the bottom of the highlighted stack trace lines.
让我们看一看如何使用splstack类实现一个栈。
Let's take a look at how you can use the SplStack class to implement a stack.
任务是由栈中的活动组成的,而不是清单文件中声明的某个类或元素。
A task is a stack of activities, not a class or an element in the manifest file.
对于局部数据,使用结构体而不是类。类被存储在堆;而结构体被存储在栈。
Use structs instead of classes for local data. Classes are stored on the heap; structs on the stack.
对于局部数据,使用结构体而不是类。类被存储在堆;而结构体被存储在栈。
Use structs instead of classes for local data. Classes are stored on the heap; structs on the stack.
应用推荐