首先创建一个Site类型的对象。
表1显示了用于定义每种屏幕类型的对象。
home接口用于创建或查找指定类型的对象。
The home interface is used to create or find an object of a specific type.
编译器为每个A类型的对象分配1个字节。
根据条件,代码将选择相应类型的对象来处理请求。
Based on the condition, the code selects the appropriate type of object to handle the request.
这种类型的对象用于容纳所有其他的元素。
This type of object is used for accommodating all the rest of the elements.
清单2描述了dsl类型的对象的常见实现。
Listing 2 depicts a common implementation for DSL-type objects.
它自始至终都使用automobile类型的对象。
在Web服务中,使用一个称为复杂数据类型的对象。
In a Web service, you use an object called a complex data type.
您将会看到,这也使查询特定类型的对象变得更加容易。
As you'll see, it also makes things much easier when querying for particular kinds of objects.
测试代码希望它产生另一种类型的对象(模仿对象)。
The test code would like it to produce a different type (a mock).
可以在两种类型的对象上设置目标属性:连接工厂和激活规范。
There are two different types of object on which it is possible to set target properties: a Connection Factory, and an Activation Specification.
因此,需要从应用程序获取classloader类型的对象。
So you need to get an object of type ClassLoader from the application.
另外,这个库还提供以不同方式创建类型的对象的类方法。
In addition the library provides class methods to create objects of their type in different ways.
这些类都是模板,它们的实例都可以容纳任何类型的对象。
Each of these classes is a template, and can be instantiated to contain any type of object.
数值类型的对象位于栈中,但是引用类型的对象位于堆中。
The object of a value type is in the stack, but the object of a reference type is in the heap.
该方法接受一个 FilterConfig类型的对象作为输入。
使用型态转换将返回的对象转换成期望的服务接口类型的对象。
Use typecast to convert the returned object to the desired service interface type.
集合的每个成员都是notesdocument类型的对象。
Each member of the collection is an object of type NotesDocument.
添加菜单项的样例代码引用了一个 “LLSD”类型的对象。
The example code for adding a menu item refers to an object of type "LLSD".
这个职位公告板应用程序有两种类型的对象:location和job。
This job board application will have two types of objects, Locations and Jobs.
Clojure是动态类型—在编译时,无需声明或了解特定类型的对象。
Clojure is dynamically typed - the specific types of objects do not need to be declared, or known, at compile time.
您需要将接收到的消息存储在portletsession类型的对象中。
You need to store the received message in an object of type PortletSession.
这种类型的对象称为functor或者functionobject。
This type of object is known as a functor or function object.
为了理解这一点,记住标记中的任何内容都必须转换为某种类型的对象。
To understand this, remember that everything in your markup has to be turned into an object of some type.
示例包括在逻辑消息树中创建具有正确数据类型的对象,以及根据模型验证xML。
Examples are creating objects in the logical message tree with the correct data type, and validating XML against the model.
弄清某事物究竟是元素还是属性并确定如何处理该类型的对象,这些操作都十分简单了。
The operation to figure out whether something is an element or an attribute and then determine what to do with that type of object is simple.
表单元素自身也代表了特殊类型的对象,而不是描述在页面上它们是如何显示的。
The form elements themselves also represent objects of particular types, rather than describing what they should look like on the page.
为了做到这一点,你可以指明关联相同类型的对象的映射,并把它们命名为关联。
In order to do this, you can specify the mappings that relate objects with the same types into something called a relation.
最后,我们将给出使用每种类型的对象和它提供的容器管理服务的一些最佳实践。
We'll close with a list of best practices for using each type of object and the container-managed services it provides.
应用推荐