This simplifies the usability of generic methods.
这会简化泛型方法的可用性。
CA1004: Generic methods should provide type parameter.
CA1004:泛型方法应提供类型参数。
The compiler applies type inference logic to all generic methods that share the same name.
编译器会对共用相同名称的所有泛型方法套用型别推断逻辑。
The PersistenceManager contains generic methods to persist each of the entities in the business model.
PersistenceManager类包含了持久化业务模型中的每一个实体的一般函数。
Instantiation of a generic type or calls to existing generic methods can be added, deleted, or changed.
可以添加、删除或更改泛型类型的实例化或对现有泛型方法的调用。
The sixth part summarizes current generic methods of computerized accounting and analyses them by a specific case.
并结合案例具体介绍了目前比较盛行的计算机辅助审计方法。
In the overload resolution step, the compiler includes only those generic methods on which type inference succeeded.
在重载解析步骤中,编译器仅包括类型推理取得成功的那些泛型方法。
Type parameters can also be declared within method and constructor signatures to create generic methods and generic constructors.
泛型参数也可以允许在方法和构造中定义,-这时方法和构造就被称之谓泛型方法和泛型参数。
So rather than use generic methods to search for matching nodes, you can search for nodes using attributes that are named for their meaning.
因此,可以使用根据其意义命名的属性来搜索节点,而不必使用通用方法搜索匹配节点。
This method is different from generic methods, which is the same with not only single entity section ring, but also complex entity section ring.
其与一般方法不同的是,不仅适用于单实体截面轮廓,也适用于多实体截面轮廓。
Test developers created generic methods to get all objects of a particular class or to get just one object at a given index under a specific parent object.
测试开发人员创建一个通用的方法来获取一个特定类的所有对象,或者获取一个具体父对象下给定索引号的一个对象。
Theme functions provide generic methods to build Web content that is used by modules providing core functions in Drupal, or by your own modules to extend Drupal.
主题函数提供生成Web内容的一般性方法,模块使用它们提供Drupal中的核心函数或者对Drupal进行扩展。
We can define generic methods in one place and mix them into our Objects across multiple Class types while limiting access to sensitive methods on a per Object basis.
我们可以在一个地方定义通用的方法,然后将它们混入跨越多个类类型的对象,同时限制对每个对象为基础的敏感方法的访问。
One way is to make these scripts generic methods, meaning that they can pass in a variety parameters (such as SQL query strings) and dynamically verify the result set.
方法之一是使这些脚本变成通用的方法,意思是它们能为各种参数所用(比如s QL查询字符串),并能动态核实结果集合。
In the case of generic methods, if a type parameter appears only once in the method signature, then it probably should be a wildcard rather than a named type parameter.
就泛型方法来说,如果一个类型参数在方法签名中只出现一次,它很有可能是一个通配符而不是一个命名的类型参数。
They will look like a chunk of garbled characters if you try to view them with generic file-viewing methods.
如果您试图使用一般的文件查看方法来查看这些文件,它们看起来就像一堆混乱的字符。
This API is generic and does not need to be modified if you need to add more classes or methods.
这个API是通用的,如果您想添加更多的类或方法,不需要对其进行修改。
Because the finder methods are specific to each domain object, they are applied to the typed interfaces of the generic DAO.
因为查找器方法是特定于每个域对象的,因此将其应用于泛型DAO的类型化接口。
It would be much better to simply prevent the programmer from referring to generic types in static fields, as is done in the case of static methods and classes.
象对静态方法和类所做的那样,只要防止程序员在静态字段中引用泛型类型,情况就会好很多。
Develop a generic protocol incorporating appropriate epidemiological and social science methods to identify barriers and to confront gender-related problems of access to and care within TB programmes.
制定一项纳入有关流行病学和社会科学方法的通用方案,以明确在结核病规划范围内影响获得服务及治疗的障碍以及与性别有关的问题。
This can happen easily in cases in which methods are being overridden and the superclass declares the method with generic parameters, or in a system where lots of serialization is going on.
这在好些情况下很容易发生,比如在方法被覆盖而超类使用常规参数声明方法时,还有正在进行许多序列化的系统中也容易发生。
First, we factor out method handles as a simple and generic way of managing methods (arbitrary JVM methods) as units of behavior, which are (as methods should be) directly callable.
首先,我们以一种简单而一般的方式来处理方法句柄,这是将方法(任意的JVM方法)作为行为单元来管理的,这样他们就可以直接调用了(本来就应该这样)。
The repository component provides generic server-side API methods for creating, retrieving, updating, and deleting items in the repository.
Repository组件提供了用于创建、检索、更新和删除存储库中的项的通用服务器端api方法。
Many of the data interface’s query methods are generic, so they can return instances of different types including collections.
很多Data接口的查询方法是通用的,所以它们可以返回包括集合在内的不同类型的实例。
In my DAO implementation, I use introductions to add a number of finder methods to my existing generic DAO class.
在我的DAO实现中,我使用introductions将许多查找器方法添加到现有泛型dao类中。
As a simple example, let us create a generic function called whoami and some tagged methods to dispatch to.
作为一个简单的例子,我们来创建一个称为whoami的泛型函数以及一些要被分派标记的方法。
In our case, you could find a generic function that creates the XMLHttpRequest instance and calls its open and send methods.
在我们的示例中,您能找到一个泛型函数,此函数能创建XMLHttpRequest实例和调用实例的open和send方法。
For one thing, any methods I might have added to node objects would potentially conflict with tagnames in the generic XML documents that gnosis.xml.objectify parses.
只有一个原因,会使添加到节点对象中所有名称都可能与 gnosis.xml.objectify 解析的一般 XML文档中的标记名发生冲突。
For a generic start/end call to less specific methods, you can just specify that as part of the rule. For example
对于对不太特定的方法常见的开始/结束调用,您就可以将那指定为规则的一部分。
Instead of creating boilerplate view methods, all of the business logic is in the urls.py file and is handled by the generic view methods supplied by Django.
我们没有创建样板视图方法,而是将所有的业务逻辑都放入了urls . py文件中,它们都由Django提供的通用视图进行处理。
应用推荐