generic type variable
基本解釋
- [計(jì)算機(jī)科學(xué)技術(shù)]同屬類型變量同屬類型變數(shù)
英漢例句
- So far, when dealing with collections, you've seen for/in used with a generic variable type, like Object.
迄今為止,在處理集合的時(shí)候,您已經(jīng)看到 for/in 使用通用的變量類型,例如 Object。 - As you can see the type of the class variables is generic, but you can improve the generator to understand if a variable should contain a number or a function.
如你所見(jiàn),類的成員變量的類型是通用類型,但是你可以改進(jìn)產(chǎn)生器,使之知道一個(gè)變量應(yīng)該包含一個(gè)數(shù)字或一個(gè)函數(shù)。
blog.sina.com.cn - Because we'd like our Lists to be generic in the type of element they contain, we'd like our static factory method to take an argument of type variable T and return an instance of List.
因?yàn)槲覀兿M?List 成為其所包含的元素類型的泛型,所以希望靜態(tài) factory 方法帶有類型變量 T 這一參數(shù)并返回 List 的實(shí)例。
雙語(yǔ)例句
專業(yè)釋義
- 同屬類型變量
- 同屬類型變數(shù)