256查询网 英汉词典

upcast

英['ʌpkɑːst] 美['ʌpkɑːst]
  • n. 上抛;向上投掷之物;排气竖坑
  • adj. 向上抛的;向上的
  • v. 向上投掷;向上抛

详细释义

Noun:
  1. air passage consisting of a ventilation shaft through which air leaves a mine

双语例句

1. Once an object has been upcast to an interface type, only the members specified in the interface can be used.
一旦把一个对象上溯给一个接口类型,只有该接口中指定的成员才可以被使用。

youdao

2. The idea of inheriting from a base class without being able to downcast to it or upcast to the base just seemed silly.
继承一个基类而无法将它向下或向上转换到基类的理念是不明智的。

youdao

3. When you use the upcast operator, the compiler attempts to infer the type you are converting to from the context.
在使用向上转换运算符时,编译器会尝试根据上下文来推断出要转换为的类型。

youdao

4. As for the upcast operator, if the compiler cannot infer a specific target type from the context, it reports an error.
对于向上转换运算符,如果编译器无法根据上下文推断出特定的目标类型,则将报告错误。

youdao

5. When you upcast to a base interface, you can only access the members specified by that interface, just as for upcasting to base classes.
当你上溯到基接口时,你只可以访问由那个接口所指定的成员,就像上溯到基类那样。

youdao

6. When a class has implemented an interface, objects created from that class can be upcast to the interface type, as demonstrated by Listing 12-3.
当一个类已经实现了一个接口时,从这个类生成的对象可以上溯到这个接口类型,如清单12-3所示。

youdao

7. When a class implements an interface that has multiple base interfaces, objects created from that class can be upcast to any of the base interface types.
当一个类实现有多个基接口的接口时,从这个类生成的对象可以上溯到任何一个基接口。

youdao

8. On January 14, President of limited company of giant network group Ms. Liu Wei is in China upcast of game industry annual meeting goes out "win in giant" plan.
1月14日,巨人网络集团有限公司总裁刘伟女士在中国游戏产业年会上抛出“赢在巨人”计划。

youdao

9. All you need to do is upcast from the derived class and never look back to see what exact type of object you're dealing with. Everything is handled through polymorphism.
你只需要将对象上传转化为基类对象不需要知道额外的信息,而这些都是通过多态实现的。

youdao

10. Since all objects in the class pool are upcast to their common base class, the polymorphism of the method leads to that which object method will be executed can only be ascertained at runtime.
由于所有位于对象池中的对象都被上溯到它们的基类型,方法多态使得只有在运行时刻才能真正确定到底哪个对象的方法被执行。

youdao

11. Since all objects in the class pool are upcast to their common base class, the polymorphism of the method leads to that which object method will be executed can only be ascertained at runtime.
由于所有位于对象池中的对象都被上溯到它们的基类型,方法多态使得只有在运行时刻才能真正确定到底哪个对象的方法被执行。

youdao

相关词汇

    【近义词】
Copyright © 2023 256查询网 All Rights Reserved

Copyright © 2023 www.256cha.com All Rights Reserved

256查询网 赣ICP备18009369号-6

本站部分资料来自网络,如有侵权请速与我们联系删除