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

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

    youdao

  • DB 2 9.7现在支持隐式数据类型强制转换

    DB2 9.7 now supports implicit casting between data types.

    youdao

  • 还有一种选择是检查不变量确保类型强制转换将会成功

    Alternatively, examine the invariants to ensure that the casts will succeed.

    youdao

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

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

    youdao

  • 数字类型强制转换另一种类型时,通常会发生转换

    Conversion typically occurs when the number is cast from one type to another type.

    youdao

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

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

    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

  • 类型强制转换当作一种断言,把不变量当做说明断言为true原因参数

    Think of a cast as a kind of assertion and the invariants as arguments for why the assertion is true.

    youdao

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

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

    youdao

  • 一种解决方案更改查询十进制类型强制转换较小的数据类型或者转换字符串二进制

    One solution would be to change the query to cast the decimal type to either a smaller datatype or convert to string or binary.

    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

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

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

    youdao

  • 用于类型变量它们强制转换另一种类型

    Use with weak typed variables to cast them as another type.

    youdao

  • 改变类型强制规则保持数组(更为常见)中的类型不是转换Python 标量类型

    The type coercion rules have changed to preserve types in arrays (more often), rather than converting to the type of a Python scalar.

    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

  • 解决方案一个操作强制转换成 64类型

    The solution is to cast one of the operands to its 64-bit type.

    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

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

    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

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

    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

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

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

    youdao

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

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

    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

  • 规则分成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

  • 读取一个参数耗费不少资源(因为类型强制转换)。因此缓存参数值有意义的,至少组件正在呈现自己时。

    Reading a parameter value can be marginally expensive (because of type coercion). Therefore, it makes sense to cache the parameter value, at least while the component is actively rendering itself.

    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

  • 不幸是,如果将来API修订版允许将除jmenu类型之外的元素添加JMenuBar不再需要返回的元素强制转换JMenu了。

    Unfortunately, if a future API revision lets you add elements of types other than JMenu to a JMenuBar, it will no longer be necessary, or even safe, to cast the returned elements to JMenu.

    youdao

  • 集合中提取元素必须知道集合对象类型强制转换合适局部变量

    To fetch elements from the collection, you had to know the type of object in the collection so you could cast it back to the appropriate local variable.

    youdao

  • XMLCursor泛型的,因此regionr =i.next()需要强制转换因为器了解i 是 XMLCursor类型

    XMLCursor is generic, so the line region r = i.next() does not need a cast, since the compiler realizes that i is of type XMLCursor.

    youdao

  • XMLCursor泛型的,因此regionr =i.next()需要强制转换因为器了解i 是 XMLCursor类型

    XMLCursor is generic, so the line region r = i.next() does not need a cast, since the compiler realizes that i is of type XMLCursor.

    youdao

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

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

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