泛型
- genericity;generic paradigm
-
提出一种基于泛型技术的导航树生成策略(TGSBG)来改进传统解决方案,其中包括TGSBG的设计思想及业务模型,并给出TGSBG的树生成算法的形式化描述。
This paper puts forward a Tree Generation Solution Based on Genericity ( TGSBG ), including its design and implementation , and describes a tree generation algorithm about TGSBG with a formal method .
-
当前type表示使用不同类型参数实现同一泛型接口的类型。
The current type represents a type that implements the same generic interface with different type arguments .
-
附注:使用C泛型实现工厂模式
Sidebar : Implementing Factory Pattern using C # generics
-
但是,在web服务类文件中,该类型将附带其泛型部分出现。
However , this type will appear with its generic portion in the web service class file .
-
这个C里泛型的例子并不像C++里面的模板。
This illustrates that generics in C # are not like templates in C + + .
-
例如,将象List这样的泛型类型擦除得只剩下List。
For example , a generic type such as List is erased to simply List .
-
另外还需要注意,Root是泛型的(实际上每个表达式都是泛型的)。
Also notice that Root is generically typed . ( Actually , every expression is . )
-
对Java中泛型的研究与探讨
The Research and Exploration of Generics in Java
-
这些服务器端点可以是泛型服务,甚至可以是REST式的端点。
These server endpoints can be generic services , maybe even a RESTful one at that .
-
List被声明为泛型,以接收其集合中任何类型的Java类。
The List is declared as generic to accept any kind of Java class in its collection .
-
基于Java的泛型编程
Generic Programming In Java
-
R的OOP方式基于泛型函数(genericfunction),而不是基于类层次结构。
R 's approach to OOP is based on generic functions rather than on class hierarchies .
-
例如,在泛型类List中,您真的想要防止List的构造吗?
For example , in a generic class List , do you really want to prevent the construction of a List ?
-
这其中的很多方法都可以泛型化,以处理非WSDLXML文档。
Many of these approaches could be generalized to work with non-WSDL XML documents as well .
-
修复bug:在生命周期管理器中使用泛型类型。
Fix the bug : lifetime managers with open generic types .
-
如果x是一个泛型集合,那么o不一定与x的类型参数兼容。
If x is a generic collection , o does not have to be type-compatible with the type parameter of x.
-
这个过程需要理解Java泛型,因为Hadoop选择使用显式类型,为了安全起见。
This process requires understanding Java generics , because Hadoop prefers explicit type safety .
-
利用泛型DAO模式改进轻量级J2EE架构
Improving lightweight J2EE framework with generics DAO pattern
-
这个类依赖C泛型对约束的支持[7],这种支持允许定义一种客户类型必须遵守的约束。
This class relies on C # generics support for constraints [ 7 ] , that allow to specify which constraints the client-specified types must obey .
-
正如上述考虑事项所演示的那样,将成熟的运行时支持添加到泛型Java要解决许多微妙的设计问题。
As the above considerations demonstrate , adding full-fledged run-time support to generic Java includes the solution to many subtle design issues .
-
Scala是静态类型的,这就允许它提供泛型类、内部类、甚至多态方法(PolymorphicMethod)。
Scala is statically typed which allows it to provide generic classes , inner classes and even polymorphic methods .
-
Uncheckedgenerictypeoperation编译器每当遇到未经检查的泛型类型操作,就将发出一个错误或者警告。
Unchecked generic type operation The compiler will issue an error or warning whenever it encounters an unchecked generic type operation .
-
通过阅读Java社区过程(JavaCommunityProcess)的建议书:JSR-14来了解有关将泛型类型添加到Java代码中的讨论。
Follow the discussion of adding generic types to Java code by reading the Java Community Process proposal , JSR-14 .
-
这个repository泛型基类通过使用不同的工厂类发送和接收特定领域的对象。
This generic repository base class sends and retrieves specific domain objects by using various factory classes .
-
Hadoop大量使用Java™泛型,以提供一种类型安全的方法来编写map和reduce函数。
Hadoop makes extensive use of Java ™ generics to provide a type-safe way to write the map and reduce functions .
-
为将可由Java编译器使用的键入信息添加到Java二进制类中,需要使用泛型规范设计器。
The designers of the generics specification needed to add typing information to Java binary classes that could be used by the Java compiler .
-
浏览器中DOM的使用是很昂贵的,特别是由于平台的泛型本质。
DOM is expensive in browsers , especially due to the generic nature of the platform .
-
文章首先展示了在Java中使用泛型的语法,包括泛型类、泛型方法以及极具特色的受限类型参数;
Firstly the article gives a description of the syntax of generics in Java , including generic class , generic method and bounded type parameter .
-
泛型DAO的基础是其CRUD操作。
The foundation for a generic DAO is its CRUD operations .
-
泛型make()方法为一些类型V返回一个Box,返回值被用于需要Box的上下文中。
The generic make () method returns a Box for some type V , and the return value is being used in a context that requires a Box .