instanceof的意思
instanceof中文翻譯:
n.實例;運算符
Naked" type parameters can't be used in casts or instanceof operations.───不能在數據類型轉換或instance of操作中使用“外露”類型參數。
Naked" parameters in casts or instanceof operations.───數據類型轉換或instance of操作中的“外露”參數。
You can check them with type hinting and instanceof tests.───可以用類型提示和instance of測試來檢查它們。
If required, the instanceof operator can be used to determine the specific destination subtype.───如果需要,可以使用instanceof運算符來確定指定的目的地子類型。
Similarly, instanceof will check that the operand is an instanceof the bound of the parameter.───同樣,instanceof將檢查操作數是否是參數界限的instanceof。
Schema awareness allows instance of to confirm the type of a node against all types defined in the schema.───模式感知允許instanceof根據模式中定義的所有類型確認節點的類型。
The instanceof operator resolves to true if the given object is an instance of the given class.───如果給定對象是給定類的實例,則instanceof操作符解析為真。
I could easily add support for reporting casts, instanceof tests, and catch blocks by implementing the appropriate methods in VerboseEditor.───通過在VerboseEditor中實現適當的方法,可以容易地增加對報告強制類型轉換、instanceof檢查和catch塊的支持。
One way would be to wrap each cast in an instanceof check.───一種方法是將每個類型強制轉換都包在instanceof檢查語句中。