• Many of the generic collection types are direct analogs of nongeneric types.

    许多泛型集合类型是非泛型类型的直接模拟。

    youdao

  • Listing 5-8 demonstrates how to construct and initialize an array and two classes from the generic collection library.

    清单5 - 8演示了如何构造并初始化一个数组和两个一般集合库中的类。

    youdao

  • Listing 2 contains a program that generates the compilation-time error message that happens when you try to add the wrong type of element to a generic collection - a List in this case.

    在尝试向泛型集合(本例中为List)添加错误类型的元素时,清单2中的程序会生成编译时错误消息。

    youdao

  • Using generic collections is generally recommended, because you gain the immediate benefit of type safety without having to derive from a base collection type and implement type-specific members.

    通常情况下,建议您使用泛型集合,因为这样可以获得类型安全的直接优点而不需要从基集合类型派生并实现类型特定的成员。

    youdao

  • Instead, DCMI is a generic framework for describing a broadly useful collection of information about documents of all sorts.

    相反,DCMI是一种通用的框架,描述关于各种类型文档的有用信息集。

    youdao

  • But I can very easily imagine a collection of defined predicative generic functions working happily for a long time before the ambiguous case is encountered.

    但是在碰到这些模糊性之前,我很长时间都认为定义一些断言通用函数就可以了。

    youdao

  • Next, we'll look at a collection of generic XML tools like IDEs and schema designers.

    接着,我们将研究常规XML工具的集合,如ide和模式设计器。

    youdao

  • Line 11 in Listing 2 is expected because the objects in a Collection are generic references — the types are not known until run-time.

    清单2中的第11行是需要的,因为Collection中的对象是通用的参照——在运行之前并不知道类型。

    youdao

  • Data: An object; a generic reference that is carried along to listeners; often a collection class (such as a Vector or Hashtable) or a customized data object.

    data:一个对象;传递给侦听程序的一般引用;常常是一个集合类(如vector或Hashtable)或一个定制的数据对象。

    youdao

  • Provides the base class for a generic read-only collection.

    提供泛型唯读集合的基底类别。

    youdao

  • By creating a generic class, you can create a collection that is type-safe at compile-time.

    通过创建泛型类,您可以创建一个在编译时类型安全的集合。

    youdao

  • By creating a generic class, you can create a collection that is type-safe at compile-time.

    通过创建泛型类,您可以创建一个在编译时类型安全的集合。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定