• 其中的很多方法都可以型化,以处理wsdlXML文档

    Many of these approaches could be generalized to work with non-WSDL XML documents as well.

    youdao

  • 当然由于这种类别不能多种资料中重复使用,而无法发挥泛型优点必须每种需要储存重新撰写类别。

    Of course, because such a class is not reusable for more than one data type, you lose the benefits of generalization, and you have to rewrite the class for each type that will be stored.

    youdao

  • 从属运行时值参数的类(比较泛型其它参数的类)。

    Dependent types are types parameterized by run-time values (compare this with generic types, which are parameterized by other types).

    youdao

  • 同样实例客户机必须使用满足构造函数存在所声明约束的类来这样

    Also, client classes that instantiate our generic class must do so with classes that meet the declared constraint on what constructors exist.

    youdao

  • 有时我们限制可能出现泛型实例

    Sometimes we want to restrict the potential type instantiations of a generic class.

    youdao

  • 答案取决于这样事实常常需要创建以及对于某些具体,您希望避免泛型行为拥有特殊实现

    The answer lies in the fact that you often need to create generic libraries, and for some specific types, you want to avoid the generic behavior and have a specialized implementation.

    youdao

  • 可以泛型看作函数”;它们通过变量进行参数这些变量可以根据上下文各种参数进行实例

    Generic types can be thought of as type "functions"; they are parameterized by type variables that can then be instantiated with various type arguments depending on context.

    youdao

  • 泛型视为它们的参数映射成实例函数

    Generic classes can be viewed as functions mapping their arguments to new instantiations.

    youdao

  • 处理问题另一种方法只要泛型运行时实例没有包括所需构造函数抛出异常

    Another way of handling this problem would be to throw an exception whenever a run-time instantiation of the generic class does not include a needed constructor.

    youdao

  • 因为查找方法特定于每个对象,因此将其应用于泛型DAO型化接口

    Because the finder methods are specific to each domain object, they are applied to the typed interfaces of the generic DAO.

    youdao

  • 只要泛型运行时实例没有包括所需构造函数,就抛出异常

    Throw an exception whenever a run-time instantiation of the generic class does not include a needed constructor.

    youdao

  • 不能基本实例泛型参数

    Generic type parameters can't be instantiated with primitive types.

    youdao

  • 再提一次是因为可以自己的参数来实例另一个泛型类。

    Again, that's because one generic class may instantiate another with its own type parameters.

    youdao

  • 程序可以产生泛型实例数目设置上限

    Place an upper limit on the number of instantiations of a generic class that a program can make.

    youdao

  • 我们程序可以产生泛型实例数目设置上限

    We could put an upper limit on the number of instantiations of a generic class that a program can make.

    youdao

  • 表示不变量另一种方法-作为其它参数的类支持系统(专栏最近一系列文章主题)。

    Another approach to expressing invariants is to bolster the type system with generic types, types parameterized by other types (the topic of our the most recent series of articles in this column).

    youdao

  • 初始代码就绪后,我们取得代表talks的成员变量,然后检查信息是否正确:正确! talks是List但是它是一个talk的List。

    Once this setup code is ready, we retrieve the field representing the talks, and we check that the generic type information is correct: yes, talks is a List, but a List of talks.

    youdao

  • getSignatureInstance()方法实际构建新的泛型模板然后参数具体列表实例这些模板。

    The getSignatureInstance() method is what actually builds new generic class templates and then instantiates these templates for specific lists of parameter types.

    youdao

  • 为了通过支持mixin我们需要获得泛型实例运行时表示

    To support mixins through generic types, we need to have run-time representations of the generic type instantiations available.

    youdao

  • 清单9输出给出泛型如何参数使用基本情况,包括dirinfo中列出的m_filesm_directories项指定

    The Listing 9 output gives the basics of how generic types are parameterized for use, including the types of items specified for the m_files and m_directories lists in the DirInfo class.

    youdao

  • 自己的主体实例其本身时,发生多态递归

    Polymorphic recursion occurs when a generic class instantiates itself in its own body. For example, consider the following devious example.

    youdao

  • 所以清单11 中,针对数组特殊版本派生 true-type版本将派生自 false-type

    So in Listing 11, the specialized version for arrays would be derived from true-type, while the generic version would come from false-type.

    youdao

  • 这么好,但是没有真正利用Tiger另一项特性——泛型(有时也叫作参数)。

    This is nice, but doesn't really take advantage of another important Tiger feature: generics (sometimes called parameterized types).

    youdao

  • 通过泛型使用型化列表可能做到这点。

    The same is possible when you use typed lists, via generics. Listing 12 shows a few simple parameterized collections.

    youdao

  • 泛型允许结构接口代理还有方法他们存储操作数据参数

    Generics permit classes, structs, interfaces, delegates, and methods to be parameterized by the types of data they store and manipulate.

    youdao

  • 通过实例分析,说明面向对象分析与设计中的重要作用。

    Through the analysis of instances, the significance of generalization and genericity in object-oriented analysis and design is obviously shown.

    youdao

  • 无法实例基于局部未命名泛型模板

    You cannot instantiate a generic or template class based on a local or unnamed type.

    youdao

  • 因此如果开发人员使用CER共用执行个体,将不会拦截 JIT 编译错误载入错误,或是预期的 CER 之区域的执行绪中止

    So if the developer uses a shared instantiation of the CER, then JIT-compilation errors, generics type loading errors, or thread aborts within the region of the intended CER are not caught.

    youdao

  • 是否泛型行为因数基底类别类别

    Whether to factor generic behavior into base classes and subclasses.

    youdao

  • 可以添加删除更改实例现有泛型方法的调用

    Instantiation of a generic type or calls to existing generic methods can be added, deleted, or changed.

    youdao

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

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

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