• 使用类型构造函数需要进行权衡

    You'll need to evaluate the tradeoffs in using an explicit type constructor.

    youdao

  • 类型语言要求声明每个变量每个函数参数

    A manifestly typed language forces you to declare each variable and each function argument.

    youdao

  • 这里一份关于scala何时需要显式类型注解规则总结

    Here is a summary of the rules for when explicit type annotations are required in Scala.

    youdao

  • 没有显式类型参数,会使用类型推理确定函数参数类型

    When there are no explicit type parameters, type inference is used to determine the types of parameters of functions.

    youdao

  • Scala使用类型注解作为显式类型声明的方比如HashMap。

    Scala USES the term type annotations for explicit type declarations like HashMap.

    youdao

  • 程序演示静态字段初始值设定项如何在显式类型构造函数中的代码之前执行

    This program also demonstrates how static field initializers execute before the code inside an explicit type constructor.

    youdao

  • 静态类型语言通常显式类型的,也不完全是而动态类型语言几乎是隐式类型的。

    Statically typed languages are usually, but not exclusively, type explicit; dynamically typed languages are almost always type-inferred.

    youdao

  • 变量显式类型(即将变量声明StringCollection依然可选的。

    Explicit typing of variables (that is, declaring a variable as a String or Collection) is still optional.

    youdao

  • 如果范围变量显式类型的,确保类型与循环访问集合中的元素类型相同类型转换

    If the range variable is explicitly typed, make sure that the type is either the same as, or implicitly convertible from, the type of the elements in the collection it iterates.

    youdao

  • 这个异常显式类型转换抛出因为测试用例试图类型String东西转换成Integer

    The exception is thrown by the explicit cast because the test case is trying to convert something of type String to an Integer.

    youdao

  • 存在类型构造函数时,编译不会beforefieldinit标记类型精确计时限制导致FxCop暗示性能下降

    When an explicit type constructor is present, the compilers will not mark the type with beforefieldinit, and the precise timing restrictions lead to the performance drop hinted at by FxCop.

    youdao

  • 原来查询比较字符串一个数字但是修改后的查询中执行类型转换。

    Here the original query is comparing a string to a number but in the modified query, explicit type-casting has been done.

    youdao

  • 尽管如此正如类型推论所说很多情况下我们不需要显式指定类型

    Nevertheless, because of type inference, in many cases no types have to be explicitly specified.

    youdao

  • 通过安排不同类型对象执行公共方法我们分派决定对象中并条件中消除。

    By arranging for objects of different types to implement common methods, we move the dispatch decision into the objects and out of an explicit conditional block.

    youdao

  • 只有应用程序实际上需要该类而不是编译运行过程中,此类的类型成为显式的。

    The class type will become explicit only when the application actually needs the class, not during compile or run time.

    youdao

  • 递归方法需要返回类型

    Recursive methods also require an explicit return type.

    youdao

  • 应用程序请求可信连接时不能数据库服务器验证类型设置CLIENT

    If your application requests an explicit trusted connection, you cannot set the database server authentication type to CLIENT.

    youdao

  • 相对显式说明返回哪个数据类型来说客户开发者需要现有字段中进行推断。

    Instead of explicitly saying what data type is being returned the client developer has to infer it from the fields that are present.

    youdao

  • 我们来看一些需要显式声明方法返回类型例子

    Let's look at examples where explicit declarations of method return types are required.

    youdao

  • 证明CLI规范还同时保证运行库允许类型构造函数产生情形除非用户代码显式采用附加

    It turns out the CLI specification also guarantees that the runtime will not allow type constructors to create a deadlock situation, unless additional locks are explicitly taken by user code.

    youdao

  • 重载方法有时候需要返回类型

    Overloaded methods can sometimes require an explicit return type.

    youdao

  • 使用变量时,应该显式声明任何类型,除非Any这样才能匹配所有情况

    When using a variable, it should have no explicit type or it should be declared as any, so it can match anything.

    youdao

  • 类型推断使得类型声明信息大多数场合下减少到了最低。

    Type inference minimizes the need for explicit type information in many contexts.

    youdao

  • 例如Oracle字符串'1 '可以数字1比较,但是在DB 2中需要执行类型转换。

    For example, in Oracle, a string '1' can be compared with a numeric 1, but in DB2, explicit type-casting needs to be done.

    youdao

  • 代码变量指定类型信息时,类型注解应该在变量冒号后面(也就是类pascal语法)。

    When explicit type information for variables is written in the code, these type annotations follow the colon after the item name (i.e., Pascal-like syntax).

    youdao

  • XSLTv2特性之一就是变量参数提供数据类型能力

    One new feature of XSLT v2 is the ability to provide an explicit data type for your variables and parameters.

    youdao

  • 清单16中,复杂类型定义包含一个4个定义元素组成序列

    In Listing 16, the complex type definition contains a sequence of four child elements that are explicitly defined.

    youdao

  • 注意解组创建一个泛型对象因此必须显式设置为 SimpleBean类型

    Note that the unmarshalling creates a generic object, so you must explicitly cast it to the SimpleBean type.

    youdao

  • Scala通常可以推断方法返回但是方法参数类型就不行了),所以我们不用显式声明

    Scala can usually infer the return type of the method (but not the types of the method arguments), so we drop the explicit declaration.

    youdao

  • Bike自行车商店类型一样,GroovyCommandLineView没有rentabike属性编写gettersetter的冗余。

    As with the bike and bike store types, the Groovy's CommandLineView doesn't have the noise of an explicitly coded getter or setter for the RentABike property.

    youdao

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

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

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