"Naked" parameters in casts or instanceof operations.
数据类型转换或instance of操作中的“外露”参数。
In some cases, it may be sensible to use an instanceof check prior to doing a class cast.
在某些情况下,在做类型转换之前用instance of进行检查是有意义的。
The instanceof operator resolves to true if the given object is an instance of the given class.
如果给定对象是给定类的实例,则 instanceof 操作符解析为真。
应用推荐