词语屋>英语词典>generics翻译和用法

generics

英 [dʒɪˈnɛrɪks]

美 [dʒəˈnɛrɪks]

网络  通用; 泛型; 范型; 仿制药; 通用类型

双语例句

  • This represents the folder library/ generics/ collections under the C# project.
    这代表了文件夹library/generics/collections在C项目之下。
  • However, because of generics, the compiler now throws warnings when collections are used without type safety.
    然而,因为泛型,当使用集合而没有类型安全时,编译器将抛出警告。
  • Our proprietary brands can't compete with the generics, especially those that are manufactured offshore.
    我们的品牌不能和同行的产品竞争,尤其是那些海外生产的产品。
  • Generics can help you resolve coding problems earlier in the development cycle.
    泛型可以帮助您在开发周期的早期解决编码问题。
  • Always prefer using C# generics in data structures.
    在数据结构中总是优先使用C型。
  • Not only does it have the same "null reference exception" that Java had, with generics we also were given the problems with Nullable value types.
    它不仅提供了Java所拥有的“空引用异常”,而且还提供了Nullable值类型以解决通用的问题。
  • This illustrates that generics in C# are not like templates in C++.
    这个C里泛型的例子并不像C++里面的模板。
  • Do that and suddenly your code is80 percent generics, annotations, and enumerations.
    如果这样做,那么您的代码就会突然之间有80%是泛型、标注和枚举。
  • Generics information is stored in a new standard attribute: the signature attribute.
    泛型信息存储在一个新的标准属性中:签名属性。
  • Let's see how annotations, enums and generics can be used from Groovy.
    让我们看看在Groovy中如何使用注解,枚举和泛型。