By adding a wrapper class, you have broken subtype polymorphism.
通过添加包装程序类,您打破了子类型的多态性。
Listing 2 shows the code for the database wrapper class.
清单2显示了这个数据库封装类的代码。
So ButterflyFile provides a standard wrapper class around a file.
因此,ButterflyFile提供了一个针对文件的标准封装类。
A DataObjectPtr is really a wrapper class holding a pointer to the DataObject.
DataObjectPtr实际上是包含指向数据对象的指针的包装类。
The wrapper class implements the Fulfillment interface I described earlier.
包装程序类实现了我早先描述的Fulfillment接口。
Primitive float type and wrapper class float have different comparison behavior.
基本浮点类型和包装类浮点有不同的比较行为。
Wrap the IoC bean in a wrapper class, which can communicate with the Axis2 framework.
将IoCbean打包在一个能够与Axis2架构通信的包装类中。
Listing 9 shows the wrapper class, which is named RepositoryWrapper in the sample application.
清单9给出了这个包装器类,在示例应用程序中称为RepositoryWrapper。
We created a wrapper class, called HeaderCell to distinguish a header cell form a content cell.
我们创建一个称为HeaderCell的包装器类,用于区分标题栏单元格和内容单元格。
This wrapper class drops its connection to the DataObject when it goes out of scope, or gets nulled.
此包装类会在超出范围或设置为空时丢弃其到数据对象的连接。
Any access to the data repository is made through a thread-safe wrapper class named RepositoryWrapper.
对数据存储库的所有访问都是通过一个名为RepositoryWrapper的线程安全类实现的。
The wrapper class would take care of formatting the arguments into an XML string resembling the code above.
该包装类将参数格式化为类似上面代码的XML字符串。
A wrapper class hides the calls to the low-level Win32 functions and provides a comfortable generic interface.
包装类隐藏了对底层Win32函数的调用并提供了一种舒适的通用接口。
To make matters worse, the rules for comparing NaN and -0 are different between the primitive float type and the wrapper class float.
使事情更糟的是,在基本float类型和包装类float之间,用于比较NaN和- 0的规则是不同的。
A single driver script connects the front end to the back end, and another wrapper class on the front end gives you access to all the tables you need.
单个驱动程序脚本连接前端和后端,前端上的另一个包装类向您提供对所有所需表的访问权。
If you need another data type such as integer, floating point, or Boolean value, you will have to parse the string using the appropriate wrapper class.
如果需要其他的数据类型,比如说整数、浮点数或者布尔值,必须使用相应的包装器类来解析字符串。
Now you can create the appropriate Web services artifacts based on this wrapper class, which internally USES the existing collection-based implementation.
现在,我们可以基于这个包装器类来创建适当的Web服务构件了,它在内部使用现有的基于集合的实现。
The application Settings architecture provides many attributes that can be applied either to the applications Settings wrapper class or its individual properties.
应用程序设置结构提供很多特性,这些特性可应用于应用程序设置包装类或应用程序设置包装类的各个属性。
The Ajax requests are fielded by a PHP driver page, which makes sure that the request is valid and then passes it onto a database wrapper class that handles the request.
Ajax请求受到一个PHP驱动程序页的保护,该页先确保请求有效,然后将其传递到一个处理该请求的数据库包装类。
Unless the Settings wrapper class is designed using the singleton pattern, there can be multiple instances of the same application Settings class in a single application.
除非使用单一实例模式来设计设置包装类,否则单个应用程序中可能存在同一个应用程序设置类的多个实例。
Back to the issue of opening up the connection to your blog, you'll produce a system by creating a new wrapper class around the XML-RPC connection that resolves the two necessary functions.
为了打开到blog的连接,我们围绕XML - RPC连接创建一个新的包装器类,它实现两个必需的功能。
Back to the issue of opening up the connection to your blog, you'll produce a system by creating a new wrapper class around the XML-RPC connection that resolves the two necessary functions.
为了打开到blog的连接,我们围绕XML - RPC连接创建一个新的包装器类,它实现两个必需的功能。
应用推荐