instanceof 双语例句
全部
1·Naked parameters in casts or instanceof operations.
数据类型转换或instance of操作中的“外露”参数。
2·You can check them with type hinting and instanceof tests.
可以用类型提示和instance of测试来检查它们。
3·Naked type parameters can't be used in casts or instanceof operations.
不能在数据类型转换或instance of操作中使用“外露”类型参数。
4·In some cases, it may be sensible to use an instanceof check prior to doing a class cast.
在某些情况下,在做类型转换之前用instance of进行检查是有意义的。
5·You can check for a sequence by doing bo.getProperty() instanceof commonj.sdo.Sequence.
可以通过执行 bo.getProperty() instanceof commonj.sdo.Sequence 检查序列。
6·Similarly, instanceof will check that the operand is an instanceof the bound of the parameter.
同样,instance of将检查操作数是否是参数界限的instance of。
7·If required, the instanceof operator can be used to determine the specific destination subtype.
如果需要,可以使用instance of运算符来确定指定的目的地子类型。
8·The instanceof operator resolves to true if the given object is an instance of the given class.
如果给定对象是给定类的实例,则 instanceof 操作符解析为真。
9·You can even check that a certain method or property is available, with a finer granularity than through any instanceof check
你甚至可以检查某个特定的方法或者属性是否可用,比使用instanceof来检查的粒度要小的多
10·I could easily add support for reporting casts, instanceof tests, and catch blocks by implementing the appropriate methods in VerboseEditor.
通过在VerboseEditor中实现适当的方法,可以容易地增加对报告强制类型转换、instance of检查和catch块的支持。