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

    不能基本类型实例化泛型类型参数

    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

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

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

    youdao

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

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

    youdao

  • DOUBLE is the generic type used in various models.

    DOUBLE各种模型中使用通用类型

    youdao

  • Because I want to demonstrate decoding generic types for this column, the type information needs to include the specific parameter types used with a generic type reference.

    因为一期中演示解码,所以类型信息需要包含引用所使用具体参数类型

    youdao

  • Likewise with the generics changes — the generic type information is used by the compiler to enforce compile-time safe usage, but the generated bytecode still USES casts everywhere.

    比如更改——类型信息——编译器用实施编译安全但是生成字节码仍然到处使用强制转换

    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

  • 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

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

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

    youdao

  • To increase the usefulness of our generic code, instead of specifying the exact type of a generic type parameter, we can specify an upper (or lower) bound instead.

    提高代码有效性可以指定上限下限),不是指定某个泛型类型参数精确类型。 这可以使用有界通配符来实现,的形式为 “?

    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

  • Generic type parameters and primitive types.

    泛型类型参数基本类型

    youdao

  • Another example: Generic type inference.

    另一个示例通用类型推断

    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

  • As a concrete example, consider Listing 3, which declares a generic type Box and invokes the Box constructor.

    作为具体示例请考虑清单3声明通用类型Box调用Box结构函数

    youdao

  • 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.

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

    youdao

  • As an example application, I'm planning to use generic type information to improve the default binding generator provided with my JiBX XML data binding framework.

    作为一个示例应用程序准备使用泛型类型信息改进JiBXXML数据绑定框架中提供默认绑定生成器

    youdao

  • The generic type of the Future object is the result of the actual operation.

    Future对象通用类型实际操作结果

    youdao

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

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

    youdao

  • Because the runtime cannot tell a List from a List (at runtime, they're both just Lists), constructing variables whose type is identified by a generic type parameter is problematic.

    因为运行不能区分ListList(运行时List),泛型类型参数标识类型的变量构造成了问题。

    youdao

  • Another consequence of erasure is that using casts or instanceof with generic type parameters doesn't make any sense. The following code will not improve the type safety of your code at all.

    擦除另一个后果泛型类型参数强制类型转换或者instance of毫无意义

    youdao

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

    范型类型Map类型参数map创建推断[Nothing, Nothing]。

    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

  • Unchecked generic type operation The compiler will issue an error or warning whenever it encounters an unchecked generic type operation.

    Uncheckedgeneric typeoperation编译器每当遇到未经检查类型操作就将发出一个错误或者警告

    youdao

  • After I use the Infer Generic type Arguments refactoring, Eclipse automatically determines the correct type parameters and produces the code shown in Listing 8.

    使用InferGeneric TypeArguments重构后Eclipse会自动地确定正确类型参数生成清单8中的代码

    youdao

  • If you define your own generic type of method the resulting assembly currently would not work.

    如果定义了自己范型类型程序集可能无法运行

    youdao

  • The IL we’ve generated for the generic type already has the method its going to call picked out.

    我们生成IL代码已经定好了将要去选出调用方法

    youdao

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

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

    youdao

  • The key to the dependency-injection approach is that you query data by injecting the Class of the entity that the DAO will be querying, along with defining the generic type.

    依赖项注入方式关键,在查询数据时,要注入DAO查询实体Class定义类型

    youdao

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

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

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