For example, a mock database is a simple object with the API of a database that accepts a few known SQL strings and returns a fixed set of results for each one.
例如,模拟数据库是一个简单对象,但具有数据库的API,可以接受一些已知的sql字符串,并为每个字符串返回一组固定的结果。
A view is a simple vehicle in modeling database objects that shields you from the physical object definitions that comprise the view.
视图是修改数据库对象的一种简单的手段,它使您不必直接与组成视图的物理对象定义打交道。
As my goal is to demonstrate how to get started with JSF, I've kept the model object very simple.
由于我的目标是演示如何开始进行JSF开发,所以我让模型对象保持非常简单。
The library format is a lot more complicated than just a simple archive of object modules, though.
但程序库格式要复杂得多,不仅仅是对象模块的简单存档。
Instead, a new simple type object is created and assigned to the variable.
相反,系统将创建新的简单类型对象并将其赋值给变量。
The Employee object (Listing 1) is nice and simple and only USES two annotations.
Employee对象(清单1)精确而简单,并且只使用了两处注释。
In the Python language, everything is an object a program can access, including simple types that hold integers, as well as the actual code you write and its representation in the Python interpreter.
在Python语言中,所有事物都是程序可以访问的对象,其中包括保存整数的简单类型,以及您编写的实际代码和这些代码在Python解释器中的表示。
As you can see, creating a binding object and providing the proper mapping is a breeze, at least in this simple example.
正如您可以看到的一样,创建一个binding对象并提供正确的映射是件轻而易举的小事,至少在我们这个简单的例子中是如此。
Overall, the process is simple: Create an appropriate file object, then read or write as necessary.
总体来说,过程很简单:创建合适的file对象,然后按照需要读取和写入。
Due to the use of XPath, accessing elements of a Data Object Graph is quite simple and intuitive.
XPath的使用使访问数据对象图的元素变得简单而直观。
The fix is simple: client2 refreshes its view of the object graph in memory, using the refresh method on the extension object (which is returned by ext ).
改进方法很简单:client2使用extension对象上的refresh方法刷新它在内存中的对象图视图,extension对象由ext返回。
As the help facility indicates, working with a file object is simple.
正如帮助工具指出的,使用file对象很简单。
The concept behind duck typing, also known as late binding, is pretty simple; if an object responds to all the methods a function is expected to call, that object can be passed to the function.
Ducktyping背后的概念非常简单,就是所谓的迟绑定;如果对象具有某个函数希望调用的所有方法,就可以将这个对象传递给该函数。
At the bottom of the script, you can see that using the Configuration object is as simple as asking for the value of imgpath as if the object were an array.
假定对象就是一个阵列,在脚本的末尾,您可以看到使用Configuration对象就像寻找imgpath的值一样简单。
Retrieving a cached object is as simple as using the get method provided by JCS.
检索缓存对象只不过是使用JCS提供的get方法。
Simple Object Access protocol (SOAP) is one of the protocols used to invoke a web service in this type of situation.
简单对象访问协议(Simple Object Access Protocol,SOAP)是用于在此类情况下调用Web服务的协议之一。
But this difference is easy to understand when you have a better comprehension of the object nature of these simple data types.
但是,当您对这些简单数据类型的对象属性有了更多的了解之后,就很容易理解这种差异。
The representation used depends on whether the field is a simple object type, a simple primitive type, or an array type.
所使用的表示法取决于字段是简单对象类型、简单原语类型还是数组类型。
Using a simple hash over the OID, each object is assigned to a placement group.
在OID上使用一个简单的哈希,每个对象都被分配到一个放置组。
This is considerably more expensive than passing a simple reference to the existing parameter object.
与向已有参数对象传递简单的引用相比,这种方式的开销要高很多。
The object is simply a hashtable or similar collection that stores object references as simple key-value pairs.
该对象只是将对象引用存储为简单键-值对的散列表或类似的集合。
Clearing the internal hash is very simple, and we can keep using this object because of the auto-vivification in STORE .
清除内部散列十分简单,而且我们可以继续使用该对象,因为STORE中具有自动复活能力。
Although varying the sentence structure makes for more interesting reading, the simple subject-verb-object is often the best option online.
虽然多样化的句式为文章添彩, 但简单的主谓宾结构句式却是网上写作的最好选择。
Although varying the sentence structure makes for more interesting reading, the simple subject-verb-object is often the best option online .
虽然多样化的句式为文章添彩, 但简单的主谓宾结构句式却是网上写作的最好选择。
The result is a powerful data object technology with a simple, intuitive interface.
结果形成一个使用简单的直观界面表现的功能强大的数据对象技术。
Pooling is quite simple: an object is reused instead of allowing it to be reclaimed by the garbage collector.
池机制相当简单:对象被重新使用,而不是让它被垃圾回收器回收。
The order is represented by a business object that contains a number of simple type attributes and an array of order line items as shown in Figure 3.
订单由包含许多简单类型属性和一个订单行式项目数组的业务对象表示,如图 3 所示。
This result object is transferred to the view (often represented by a simple HTML template) to display the response data on the page.
结果对象会转换成视图(通常是通过一个简单的HTML模板表示),在页面上显示响应数据。
In the case of member variables, a simple reference is kept to the containing object.
对于成员变量,一般而言是被保留在包含它的对象里。
In the case of member variables, a simple reference is kept to the containing object.
对于成员变量,一般而言是被保留在包含它的对象里。
应用推荐