• Recall from Chapter 1 that Scala USES square brackets ([...]) for generic type parameters.

    回忆在第1章中Scala使用方括号来指明范型类型参数。

    youdao

  • But it's not always convenient to load classes into the JVM to access generic type information.

    但是在JVM中装载类以访问泛型类型信息并不总是方便的。

    youdao

  • The generic type argument declares the type of result this CriteriaQuery will return upon execution.

    泛型参数声明CriteriaQuery在执行时返回的结果的类型。

    youdao

  • The type parameters of the generic type Map were inferred as [Nothing,Nothing] when the map was created.

    范型类型Map的类型参数在map被创建时被推断为[Nothing, Nothing]。

    youdao

  • The signature format extends the idea of field and method descriptors to include generic type information.

    签名格式扩展了字段和方法描述符的概念,将泛型类型信息包含于其中。

    youdao

  • Add explicit generic type parameters.

    添加显式泛型类型参数。

    youdao

  • Enumerations cannot have generic type parameters.

    枚举不能有泛型类型参数。

    youdao

  • Not supported for incomplete generic type parameters.

    不支援不完整的泛型型别参数。

    youdao

  • A generic type definition is not assignable from a closed constructed type.

    泛型类型定义不可以从封闭构造的类型赋值。

    youdao

  • This is true even if the enclosing generic type is a closed constructed type.

    即使封闭泛型类型为封闭构造类型,也是如此。

    youdao

  • If a nested type is generic, this method returns its generic type definition.

    如果嵌套类型为泛型,则此方法返回其泛型类型定义。

    youdao

  • The name of the type parameter that is defined on a generic type is read-only.

    泛型类型上定义的类型参数的名称是只读的。

    youdao

  • Note that a method is not generic just because it is declared in a generic type.

    请注意,方法不会仅因为在泛型类型中声明而成为泛型方法。

    youdao

  • The supplied type must expose a parameterless constructor that your generic type can access.

    提供的类型必须公开泛型类型可以访问的无参数构造函数。

    youdao

  • A closed generic type is a type declaration where a particular type is specified for a type parameter.

    封闭式泛型类型是为类型参数指定特定类型的类型声明。

    youdao

  • Suppress the generation of a generic type parameter hash code and provide a legible type name instead.

    不要产生泛型类型参数的哈希值,使用一个易懂的类型名称作为替代。

    youdao

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

    可以添加、删除或更改泛型类型的实例化或对现有泛型方法的调用。

    youdao

  • For example, you might want to use another generic type system such as Service Data Object (SDO) (see Resources).

    例如,你可能希望使用另外一种通用类型系统如服务数据对象(SDO)(参见参考资料)。

    youdao

  • The name of a generic type parameter on an externally visible type or method does not start with an uppercase 't'.

    外部可见的类型或方法上的泛型类型参数的名称不以大写的“T”开头。

    youdao

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

    为了通过泛型类型支持mixin,我们需要获得泛型类型实例化的运行时表示。

    youdao

  • A contravariant delegate can be assigned another delegate of the same type, but with a less derived generic type parameter.

    可以向逆变委托分配同一类型的其他委托,但需使用派生程度较小的泛型类型参数。

    youdao

  • This method receives several parameters, including a SQL statement and a result handler, and returns an object of generic type t.

    这个方法接收多个参数,包括一条sql语句和一个结果处理程序,并返回一个泛型t的对象。

    youdao

  • Allows a file to be opened with an internal Root Explorer function, as a generic type (text, video etc) or with a specific app.

    实现用程序内部的查看器或指定程序直接打开常见的文本、视频等类型文件。

    youdao

  • The angle brackets assign a specific type (that is, the parameterized type) to the generic type represented by the "T" argument types.

    尖括号为由 “T”参数类型表示的泛型指定具体类型。

    youdao

  • Shows how to define a generic method in a dynamic module, how to define its generic type parameters, and how to execute the method.

    示范如何在动态模组中定义泛型方法、如何定义它的泛型型别参数,以及如何执行此方法。

    youdao

  • The Infer Generic Type Arguments refactoring automatically tries to guess the appropriate generic types for classes used in their raw form.

    InferGeneric TypeArguments重构会自动地为原始形式的那些类推测恰当的泛型类型(generic type)。

    youdao

  • A signature defines the actual parameter types used with a generic type, so it provides the information I'll need to process type substitutions.

    签名定义了泛型实际使用的参数类型,所以它提供了处理类型替换时需要的信息。

    youdao

  • That contract does not allow this method to throw a run-time exception (barring violations of generic type safety that qualify as bugs in the calling code).

    这个合约不允许该方法抛出运行时异常(防止因违反泛型类型安全而成为调用代码中的bug)。

    youdao

  • Just as the type parameters of a generic class are wrapped in Angle brackets, the arguments of a generic type application are wrapped in Angle brackets as well.

    就像泛型类的类型参数用尖括号括起来那样,泛型类型应用程序的参数也是用尖括号括起来的。

    youdao

  • Just as the type parameters of a generic class are wrapped in Angle brackets, the arguments of a generic type application are wrapped in Angle brackets as well.

    就像泛型类的类型参数用尖括号括起来那样,泛型类型应用程序的参数也是用尖括号括起来的。

    youdao

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

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

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