If package access prevents objects from communicating, add more public methods to the classes.
如果包访问不利于对象间的通信,就需要向类中添加更多的公共方法。
If you're using code like this in a performance hotspot, you can avoid the overhead by declaring fields and methods accessed by inner classes to have package access, rather than private access.
如果你在高性能的Hotspot中使用这些代码,可以通过声明被内部类访问的字段和成员为包访问权限,而非私有。
In other words, if all access to a table is static, the DBA would not need to grant access to the entire table or view, just to the package.
换句话说,如果对某个表的所有访问都是静态的,则DBA将不需要授予对整个表或视图的访问权限,而是仅授予对包的访问权限。
Put each test case in the same package as the class it's testing to gain access to package and protected members.
将每个测试实例与它要测试的类放在同一个包内,以获得对包成员和保护成员的访问权。
When the statement is compiled, its access plan is stored in the package cache.
在编译语句时,语句的访问计划被存储在包缓存中。
The only access to the underlying database objects is through the specific statements in the package.
对底层数据库对象的访问只能通过包中的特定语句进行。
If the same INSERT statement is executed repeatedly, its access plan will (usually) be found in the package cache and the compilation cost is avoided.
如果重复地执行相同的insert语句,则该语句的访问计划(通常)会进入到包缓存中,这样就免除了编译的开销。
SQLJ provides the unique ability to develop using static SQL statements and control access at the DB2 package level.
SQLJ提供了独特的使用静态SQL语句进行开发以及在DB2包级别控制访问的能力。
You can also leverage the command line interfaces to change the access control configurations of script packages, and even delete a package from the appliance using its ID, as shown in Figure 10.
您还可以利用命令行界面来更改脚本包的访问控制配置,甚至使用脚本包的ID从此设备删除一个脚本包,如图10所示。
As the bottom layer of the ODFDOM hierarchical structure, it provides direct access to the physical storage in the ODF package, such as XML streams, pictures, and embedded objects.
它是ODFDOM层次化结构中最低的一层,它提供对odfdom包中的物理存储的直接访问,比如xml流、图像和嵌入的对象。
As these examples illustrate, the XML_RDDL package provides a useful PHP-based tool to quickly access specific fragments of information about resources in an XHTML + RDDL document.
上述例子表明,xml_rddl包提供一个非常有用的PHP工具,可以快速访问XHTML +RDDL文档中关于资源的特定信息片断。
Bind is the process that saves the access plan associated with a SQL statement into a DB2 SQL package.
绑定过程将与一个sql语句相关联的访问计划保存到一个DB 2 sql包中。
When you are granted privileges to use a view or a package, you automatically get access to the tables referenced in the view or package.
当您被授予使用一个视图或包的权限时,您被自动获得对视图或包中各个表的访问权限。
Therefore, if all access to a table is static, you would only need to grant access to the package, not the entire table or view.
因此,如果对一个表的所有访问都是静态的,您仅需要授权给程序包,而非整个表和视图。
As these examples illustrate, the XML_NITF package provides a useful tool to quickly access specific fragments of information about a news article encoded in NITF format.
这些例子说明,对于快速访问nitf格式的新闻文章中的特定信息片断,XML_NITF包不失为一种方便的工具。
Once a closed package is created it does not need access to the actual contents of the view server.
一旦创建了关闭包,不需要访问视图服务器的实际内容。
The package uses the JPA to access and update entities.
该包使用JPA来访问和更新实体。
To this end, WHO is developing an "essential package" for scaling up towards universal access in the health sector and will publish a five-year WHO-wide "universal access" plan in autumn 2006.
为达此目的,世卫组织正在制定一项在卫生部门加强实现普及治疗的“一揽子基本计划”,并将于2006年秋天发表世卫组织范围的“全面获得”五年计划。
Standard support adds helpdesk support to the access only package.
标准支持增加了对只读访问的帮助台支持。
Also, issue the required statements to create the objects desired, or bind the package and grant the ability to access and use those objects to other users or groups.
另外,发出所需的语句创建需要的对象,或者绑定包并向其他用户或组授予访问和使用这些对象的能力。
Be aware that for updating existing packages, all the same concepts except the first (write access to a location to store the package) apply.
注意,对于更新现有的包,除第一个概念(对存储包的位置的写访问)之外其他概念都适用。
In this case you have a package where your data models are kept and a package where your data access objects are kept.
本例中,有一个存放数据模型的包和一个存放数据访问对象的包。
It gives you direct access to the functions for opening a document or package or creating a project.
用户可以直接访问打开文档或包、或创建项目的功能。
The Self-Service Package Wizard helps business users by providing direct access to their information in SAP BW by enabling them to create their own IBM Cognos packages based on the SAP BW source.
通过使他们能够创建其自己的基于SAPBW 源的Cognos包,Self-ServicePackageWizard 会通过对 SAP BW 中的数据提供直接访问来帮助业务用户。
The advantage with starting from WSDL is that both the client-side and server-side can use different package name mappings without affecting the access of the service.
从WSDL开始开发Web服务的优点是,客户端和服务器端都可以使用不同的包名映射,而不对访问服务产生影响。
Access to many more widgets and extensions through the Dojo package system.
可通过Dojo包管理系统访问更多的控件和扩展。
Recently, reader feedback has led me to realize that I have left behind an important aspect of Scala's language while crafting this series: Scala's package and access modifier facilities.
最近,读者的反馈让我意识到在制作本系列的过程中我遗漏了Scala的语言的一个重要方面:Scala的包和访问修饰符功能。
More importantly, by using the NIO package it is possible to access a file as a CharSequence.
更重要的是,通过使用NIO包,将一个文件作为CharSequence 进行访问是可能的。
Write access to a location to store the package ( Section 2.1.1)
对存储包的位置的写访问(2.1.1 节)
The other optional package, JSR 75 File Connection provides a way to access the native file system which is out of scope for our discussion.
另一个可选包JSR 75FileConnection提供一种访问本文探讨范围之外的本地文件系统的方法。
应用推荐