• "Naked" parameters in casts or instanceof operations.

    数据类型转换instance of操作中的外露参数

    youdao

  • You can check them with type hinting and instanceof tests.

    可以类型提示instance of测试来检查它们

    youdao

  • "Naked" type parameters can't be used in casts or instanceof operations.

    不能数据类型转换instance of操作使用外露”类型参数

    youdao

  • In some cases, it may be sensible to use an instanceof check prior to doing a class cast.

    某些情况下,在类型转换之前instance of进行检查有意义的。

    youdao

  • You can check for a sequence by doing bo.getProperty("") instanceof commonj.sdo.Sequence.

    可以通过执行 bo.getProperty("")instanceof commonj.sdo.Sequence检查序列

    youdao

  • Similarly, instanceof will check that the operand is an instanceof the bound of the parameter.

    同样instanceof检查操作数是否是参数界限的instance of。

    youdao

  • If required, the instanceof operator can be used to determine the specific destination subtype.

    如果需要可以使用instance of运算符确定指定目的地子类型

    youdao

  • The instanceof operator resolves to true if the given object is an instance of the given class.

    如果给定对象给定类实例 instanceof操作符解析

    youdao

  • You can even check that a certain method or property is available, with a finer granularity than through any instanceof check

    甚至可以检查某个特定的方法或者属性是否可用使用instanceof来检查的粒度要小的多

    youdao

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

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

    youdao

  • You can test this using the instanceof operator, which returns true if the object is a member of the indicated class, as shown in Listing 14.

    可以使用instance of操作符测试一点,如果对象指定成员则返回true如清单14

    youdao

  • You should perform an instanceOf operation to make sure it is the view you are looking for, and then type cast it to the appropriate view class.

    执行instance Of操作确保就是正在寻找视图然后将其类型转换适当的视图类。

    youdao

  • You can verify it manually with the instanceof operator, a handy tool introduced with PHP V5 that sits between an object instance and a class name.

    可以instance of操作符来手动验证一点,操作符是PHPV 5引入介于对象实例名之间的一个便捷工具

    youdao

  • Similarly, instanceof checks on naked type parameters will result in an "unchecked" warning at compile time and the check will not occur as expected at runtime.

    同样外露类型参数instance of检查编译产生unchecked警告而且检查不会如期运行时进行。

    youdao

  • Throwing an exception would not help in our case because we would then have to add instanceof checks in hasConsecutiveZeros to ensure that we didn't trigger the exception.

    抛出一个异常例中帮不了什么忙,因为我们不得不hasConsecutiveZeros中添加instanceof 检查语句确保我们没有触发异常。

    youdao

  • Because Tiger relies on type erasure, the naked type parameters in casts and instanceof tests are "erased" to their upper bounds (in the earlier case, that'll be type Object).

    因为Tiger依靠类型除,所以数据类型转换instance of测试中的外露类型参数除”它们上界(前面例子中类型Object)。

    youdao

  • The instanceof function provides a good way of checking type, but you can also roll object type checking into the method signature itself by using type hints in the argument list.

    虽然 instanceof功能提供了一种检查类型方法可以通过参数列表中使用类型提示,来将对象类型检查滚动方法签名自身中。

    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 disadvantage of using instanceof checks in this fashion is that, if we were to add another subclass of Tree (such as, a LeafWithValue class), we would have to revise these instanceof checks.

    这种方式使用instance of检查语句缺点如果我们添加Tree的另子类(比如一个leafwithvalue),我们不得不修改这些instance of检查语句。

    youdao

  • The disadvantage of using instanceof checks in this fashion is that, if we were to add another subclass of Tree (such as, a LeafWithValue class), we would have to revise these instanceof checks.

    这种方式使用instance of检查语句缺点如果我们添加Tree的另子类(比如一个leafwithvalue),我们不得不修改这些instance of检查语句。

    youdao

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

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

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