• 清单2FrontierRPC强制类型转换

    Listing 2: Forced Typecasting in Frontier: : RPC.

    youdao

  • 强制类型转换关闭挂起正常类型检查(2.3)。

    By using a cast, the programmer turns off or dampens normal type-checking (Section 2.3, p. 44).

    youdao

  • 只需调用底层Hibernate方法添加强制类型转换

    It's just a matter of calling the underlying Hibernate methods and adding the casts.

    youdao

  • 进行静态类型检查,并且允许强制类型转换因而对于类型而言安全的。

    It is statically type-checked and does not allow type coercion, so is safe with regards to types.

    youdao

  • 毕竟强制类型转换对于编译来说就是一个提示,表明清楚自己正在些什么

    After all, casts are a hint to the compiler that you think you know what you're doing.

    youdao

  • 规则分成17个子类这些子类关注于强制类型转换可移植性以及反射等等

    The rules in this category are subdivided into 17 additional subcategories that allow you to confine your inspection to areas such as casting, portability, reflection, and so on.

    youdao

  • 不过如果的确想要得到列表可以对所返回dict对象进行强制类型转换

    But, if you really want a list of values, you can always cast the returned dict object. For example.

    youdao

  • 使用动态强制类型转换小心只要有可能定义使用函数直接接管类型管理

    Dynamic casts should be used with caution. Whenever possible, it is much better to define and use a virtual function rather than to take over managing the types directly.

    youdao

  • 使用强制类型转换另一个原因:可能存在多种转换需要选择特定的类型转换

    Another reason for an explicit cast is to select a specific conversion when more than one conversion is possible.

    youdao

  • Python中既有强制类型转换也有强迫型,通常使用更多的是前者(“显式优于隐式”)。

    Python contains a mixture of casts and coercions, with a usual preference for the former (" explicit is better than implicit ").

    youdao

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

    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.

    youdao

  • 看过TimeSeries函数强制类型转换以及其他元素之后,看上去一种自然选择

    After seeing the TimeSeries functions and casts and other elements, a virtual table looks like an easy choice.

    youdao

  • 因此决定如何方法返回值进行强制类型转换时,必须同时考虑预期返回类型所用的数据模型

    One must therefore take into account both the expected return type and the data model when deciding how to cast the object that this method returns.

    youdao

  • 具有引用指针需要执行不是基类组成部分派生操作时候,需要动态强制类型转换

    Dynamic casts are needed when we have a reference or pointer to a base class but need to perform operations from the derived class that are not part of the base class.

    youdao

  • 这种情况需要强制类型转换函数 $elem castas xs:integer保持查询的有效性。

    In this case, casting functions (like $elem cast as xs:integer) are needed to keep the queries working.

    youdao

  • 话说,编译生成代码手工编写不用泛型检查程序类型安全进行强制类型转换所得到的代码基本相同

    In other words, the compiler generates pretty much the same code you would have written by hand without generics, casts and all, after checking the type-safety of your program.

    youdao

  • 范围更加微妙的指针整型之间转换由于这些转换通常都包括强制类型转换,因此编译很难告诉到底错了什么

    More subtle than ranges are conversions between pointers and integers; because these conversions generally involve casts, it's hard for the compiler to tell you what you're doing wrong.

    youdao

  • CriteriaQuery传递一个可执行查询保留类型信息这样可以直接访问选择列表元素不需要任何运行时强制类型转换

    CriteriaQuery is transferred to an executable query with its type information preserved so that the elements of the selected list can be accessed without any run-time casting.

    youdao

  • 通过VerboseEditor中实现适当方法可以容易地增加报告强制类型转换instance of检查catch支持

    I could easily add support for reporting casts, instanceof tests, and catch blocks by implementing the appropriate methods in VerboseEditor.

    youdao

  • 另一个例子调用宿主对象函数如何进行类型强制转换也是没有规定的。

    Another example is that it's not explained how types are coerced when calling functions on host objects. For example, when you do.

    youdao

  • 其次消除易出错类型强制转换需要(这是一个查询操作CRUD常见问题)。

    Secondly, it removes the need for error-prone type casts. (a problem more common with query operations than CRUDs.)

    youdao

  • CAST函数调用两次输入参数值(针对城市)强制转换适当数据类型

    The cast function is called twice to cast the values of the input parameters (for city and state) to appropriate data types.

    youdao

  • 最后可以根据编号这些建立索引直接强制转换结果(对于某些类型)。

    Finally, you can index into the columns by column number and cast the results directly (for some types).

    youdao

  • 这种方法除去上面代码类型强制转换需要修正错误

    This approach would eliminate the need to cast in the above code, but it would not fix the bug.

    youdao

  • 这样经常需要添加类型强制转换编译代码

    Doing so often necessitates the addition of casts to get the code to compile.

    youdao

  • 简言之,这些方法本质总是使您确信代码内部的不变量确保代码块中的任何类型强制转换成功

    In short, the moral to this story is to always convince yourself that the invariants inside a code block ensure that any casts in the block will always succeed.

    youdao

  • 注意清单2中,集合提取并不需要强制转换正确类型

    Notice in Listing 2 that fetching an item out of a collection doesn't require a cast to the right type.

    youdao

  • 治疗预防措施:类型强制转换代码分解每个单独方法中去。

    Cures and preventions: Factor the casting code out into separate methods for each class.

    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

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

    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

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

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

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