52古典>英语词典>generics翻译和用法

generics

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

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

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

双语例句

  • Always prefer using C# generics in data structures.
    在数据结构中总是优先使用C型。
  • I'm adding a few more items here and there, plus an entire chapter on generics.
    我正在各处添加一些更多的条目,为泛型加入了一整章。
  • Existing classes that were designed before generics may have semantics that resist the "obvious" generification approach.
    在泛型之前设计的类可能阻碍了“显然的”泛型化方法。
  • Our proprietary brands can't compete with the generics, especially those that are manufactured offshore.
    我们的品牌不能和同行的产品竞争,尤其是那些海外生产的产品。
  • Simply put, generics provide compile-time type safety for collections.
    简单来说,泛型为集合提供了编译时类型安全。
  • But they can make generics a little more confusing, and frustrating, to learn and use.
    但这些也使得泛型学习和应用起来更让人迷惑,更加困难。
  • Guice and EasyMock stand out as two frameworks I have been using that have used the power of generics to implement extraordinary typesafety.
    Guice和EasyMock是我用过的比较优秀的两个框架,它们利用泛型实现了突出的类型安全。
  • Generics can help you resolve coding problems earlier in the development cycle.
    泛型可以帮助您在开发周期的早期解决编码问题。
  • JSR14: Added generics to the Java programming language.
    JSR14:将泛型添加到Java编程语言中。
  • These are not problems with generics per se, but with the practicality of language evolution and compatibility.
    这并非泛型本身的问题,而是与语言的演化与兼容有关。