• 该异常抛出表明代码企图对象类型转换一个子类对象不是这个子类的实例

    Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.

    youdao

  • 可以看到类型资源自动将.png文件转换能够直接加载到PictureBox中的Image对象

    You can observe that the strongly typed resource class automatically converts a.png file into an Image object that can be directly loaded into a PictureBox.

    youdao

  • SimpleJPA依赖数字类型对象进行字符串转换后续填充(如果需要)。

    SimpleJPA does the string conversion and any subsequent padding (if required) for objects that rely on numeric types.

    youdao

  • 类型资源嵌入XML文件转换能够轻松加载到 XmlDocument对象中的字符串

    The strongly typed resource class also converts the embedded XML file into a string that can be easily loaded into an XmlDocument object.

    youdao

  • 业务对象映射可以使用业务对象映射某种类型业务对象转换另一种类型的业务对象

    Business Object maps: You use a Business Object map to translate one type of Business Object into another type of Business Object.

    youdao

  • 为了理解一点,记住标记中的任何内容都必须转换某种类型对象

    To understand this, remember that everything in your markup has to be turned into an object of some type.

    youdao

  • 转换必须这里请求字符串转换所需对象类型然后返回这个对象,将它存储在相应JSF组件中

    This is where the converter must convert the request string value into the desired object type, and then return the object for storage in the corresponding JSF component.

    youdao

  • 提供任意对象类型注册额外的转换功能

    Provides the ability to register additional converters for arbitrary object types.

    youdao

  • 我们偏向一种方法,因为我们可以自定义转换自带验证逻辑特定对象类型关联JSF处理这种对象类型

    We prefer the latter option because it allows us to simply associate a custom converter (with built-in validation logic) with a specific object type and have JSF handle that object type.

    youdao

  • 组件已经经过了类型转换有效性验证应用模型对象了,因此现在可以使用它们执行应用程序业务逻辑了。

    The component values will have been converted, validated, and applied to the model objects, so you can now use them to execute the application's business logic.

    youdao

  • 使用型态转换返回对象转换期望服务接口类型对象

    Use typecast to convert the returned object to the desired service interface type.

    youdao

  • 修复这类异常简单方式就是仔细检查对象转换类型是否符合以上提到的规则。

    The easiest way to fix such exceptions is to carefully check that the type to which an object is being cast conforms to the rules mentioned above.

    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

  • 接下来表格列出了这些IDs以及转换配置看到对象类型

    The following table lists these IDs and the object types that you would expect to see in the transformation configuration.

    youdao

  • 如果转换产生了交易类型对象随后处理必须包含名为handle (trade trade)的方法

    If the converter produced an object of type trade, then the handler class must contain a method named handle (trade trade).

    youdao

  • 所以例如通过返回对象指定json类型jQuery将能自动来自服务器响应字符串转换json对象使能够立即引用

    So, for example, by specifying the return object as a type "json", jQuery will automatically convert the response String from a server into a json object, allowing you to reference it immediately.

    youdao

  • 模拟对象Collaborator类型强制转换十分有必要,因为intercept方法将返回类型Object。

    The class cast of the mock object into type Collaborator is necessary because the intercept method returns type object.

    youdao

  • JBoss没有显式地绑定Account参数,而是提供了当前正在执行对象反射访问,因此需要类型转换对应类型

    Rather than binding the Account parameter explicitly, JBoss provides reflective access to currently executing objects, requiring a cast to the corresponding type.

    youdao

  • 注意需要强制转换返回类型getValue返回一个Object 类型对象

    Note that you need to cast the return type -- getValue returns an object of type Object.

    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

  • 简单地转换确保数据拥有正确对象或者类型过程

    Simply put, it's the process of ensuring data is of the right object or type. Here are two typical conversions.

    youdao

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

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

    youdao

  • 检查对象(例如清单5中的item)类型转换目标(Integer)时,类装入器检查以下规则

    Given an object being tested (such as item in Listing 5) and a target class (Integer) being cast to, the class loader checks the following rules.

    youdao

  • 如果5.0MXBean远程调用要求传递复杂类型实例,那么对象转换成等价的CompositeData

    If you make a remote call to a 5.0 MXBean that requires passing an instance of a complex type, the object is converted to its CompositeData equivalent.

    youdao

  • 意味着可以直接返回对象访问成员或者可以使用类型局部变量赋值,无需进行转换

    This means that you can easily access members directly off a returned object, or you can assign it to a strongly typed local variable without having to cast.

    youdao

  • 转换计算所包括的表达式的值,然后按照结果类型特定规则转换其结果对象字符串

    A string conversion evaluates the contained expression list and converts the resulting object into a string according to rules specific to its type.

    youdao

  • 某个对象类型方法传递参数时将自动应用向上转换

    Upcasting is applied automatically when you pass arguments to methods on an object type.

    youdao

  • 某个对象类型方法传递参数时将自动应用向上转换

    Upcasting is applied automatically when you pass arguments to methods on an object type.

    youdao

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

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

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