国产高清精品免费区-男女一进一出抽搐免费视频-中日韩一二三级黄色永久视频-日韩精品人妻一区二区免费视频-日本久久视频在线观看-99热这里只有精品88热-亚洲韩国黄色最新短视频一区-日韩伦理在线观看免费全集-国产av一区二区三区天堂

superclass

superclass

 英

  • n.【生】總綱
  • 網(wǎng)絡(luò)超類;父類;父類別

詞形變化

復(fù)數(shù):superclasses  

英漢解釋

n.
1.
【生】總綱

英英解釋

n.

例句

Since an instance of a subclass is an instance of your superclass, you could find multiple instances of the singleton.

由于實(shí)例也是實(shí)例所以可能出現(xiàn)多個(gè)實(shí)例并存情況

An attempt was made to reuse an existing method name from a superclass, and the signatures did not match.

試圖重用現(xiàn)有方法名稱簽名匹配

Two other refactorings, Push Down and Pull Up, move class methods or fields from a class to its subclass or superclass, respectively.

兩個(gè)重構(gòu)工具PushDownPullUp分別實(shí)現(xiàn)方法或者屬性一個(gè)移動(dòng)

Because a superclass is not referenced as frequently as a sublcass the names do not have to be as concise.

由于不會(huì)那樣頻繁引用對(duì)子命名不必考慮簡(jiǎn)潔因素

However, the subclass leaves the concrete class as is and does not attempt to instantiate the superclass.

沒有對(duì)具體方法改變沒有試圖實(shí)例化

Similarly, a subclass destructor must call its superclass destructor after it has completed its own resource reclamation.

類似構(gòu)函數(shù)完成資源釋放之后調(diào)用構(gòu)函數(shù)

According to this principle, the ability to substitute a subclass object for a superclass object is characteristic of good design.

原則表明對(duì)象對(duì)對(duì)象替代能力優(yōu)秀設(shè)計(jì)重要標(biāo)志

So before an object is created, another object of the same class or of its superclass must be constructed.

所以創(chuàng)建對(duì)象之前必須構(gòu)造相同另一個(gè)對(duì)象

Likewise, you almost always call a superclass method at either the start or end of a descendent method body.

同樣幾乎總是子代方法主體開始結(jié)束部分調(diào)用方法

Eclipse writes the superclass automagically with its new methods and alters the sibling classes to use the new superclass.

Eclipse使用方法自動(dòng)編寫然后更改兄弟使使用

In the object-oriented version, I extracted duplicated methods, moving them to a superclass along with a protected field.

面向對(duì)象版本提取復(fù)制方法連同protected字段一個(gè)

After the @implementation keyword, we see the name of the class (Employee) and its superclass.

@implementation關(guān)鍵字后面我們看到Employee及其

Qualified subclass name: Name subclasses to communicate the similarities and differences with a superclass.

名稱合格對(duì)子命名會(huì)表述之間相似差異

an additional first parameter must be specified as the class for which the method calling the superclass selector is defined.

當(dāng)然第一個(gè)參數(shù)額外我們必須指定調(diào)用方法所屬

Superclass and humanization are two outstanding characters of the state theory of democratic socialism.

超階級(jí)人性化民主社會(huì)主義國(guó)家兩個(gè)顯著特征

Another difference you'll notice are several radio buttons and a checkbox for selecting the superclass.

會(huì)注意另一個(gè)差別多個(gè)單選按鈕一個(gè)用于選擇復(fù)選框

That article is the single best resource that I've seen for understanding how the superclass works.

篇文章見過關(guān)于理解如何運(yùn)行最好資源

A method of a superclass can be extended by declaring an attribute with the same name.

方法可以通過使用相同名稱聲明屬性擴(kuò)展

Fields are protected fields that the detector inherits from its superclass.

字段檢測(cè)器繼承protected字段

Subclasses provide specialized behaviors from the basis of common elements provided by the superclass .

提供來自總綱提供通常元件專門行為

The best remedy in this case is to move those referenced fields to the superclass, too.

這種情況最好補(bǔ)救辦法就是這些引用字段這個(gè)

Gets or sets a value indicating whether recursive enumeration is requested into all classes derived from the specified superclass.

獲取設(shè)置一個(gè)指示是否遞歸枚舉請(qǐng)求指定派生所有

Make sure that Constructors from superclass is checked and that the superclass is java. lang. Exception (Figure 46).

確保選中Constructorsfromsuperclass并且java.lang.Exception(46)。

Classes usually constitute a taxonomic hierarchy (a subclass-superclass hierarchy).

通常包括個(gè)分類層次個(gè)-層次)。

Notice that because both of the extracted methods use the number member variable, it is dragged into the superclass.

注意因?yàn)?/c>個(gè)提取方法使用number成員變量所以涉及到

Notice that we use the method findViewById (defined in the superclass Activity) to get a handle on various UI elements.

注意我們使用findViewById方法Activity定義獲得不同UI元素句柄

After a script has been created, it retains the reference to the default superclass as its own helper superclass.

當(dāng)創(chuàng)建一個(gè)腳本以后保留默認(rèn)參考自己助手參考一樣

The requirement for this common superclass is driven by the need for interception.

對(duì)公用要求源自截獲需要

Subclasses inherit the public behavior of their superclass.

繼承所有公共行為

We cannot resort to macros because the internal representation of the superclass is not available for the macros to reference.

我們無法實(shí)現(xiàn)因?yàn)?/c>內(nèi)部具體實(shí)現(xiàn)對(duì)于我們引用不可

Kent discusses how to come up with a good name for a superclass.

Kent討論如何一個(gè)名字

If you want to use the custom component in a JSF 1. 1-based application, the superclass of the tag handler must be UIComponentTag.

如果希望基于JSF1.1應(yīng)用程序使用定義組件標(biāo)記處理程序必須UIComponentTag

Type the first character of user helper superclass name in Select default helper superclass for the script.

腳本選擇默認(rèn)helpersuperclass之中輸入用戶helper字符

Recall that every Java class constructor must call a constructor of the superclass.

每個(gè)Java構(gòu)造函數(shù)必須調(diào)用構(gòu)造函數(shù)

A class or interface could not be loaded because it would be its own superclass or superinterface.

接口由于自己接口不能裝入

Similarly, the bicycle class is the superclass of mountain bikes, racing bikes, and tandems .

同樣腳踏車類別腳踏車總綱空轉(zhuǎn)腳踏車

From there, you can add the name and superclass.

可以這里添加名稱

You can alleviate this somewhat by having an abstract superclass that contains empty implementations of all methods for all visitors.

可以使用一個(gè)抽象其中包含所有訪問者所有實(shí)現(xiàn)從而略微緩解難度

Method, I also override this method to store the value, calling the superclass to complete default behavior.

方法設(shè)置所以覆蓋這個(gè)方法存儲(chǔ)這個(gè)調(diào)用完成默認(rèn)行為

Manual propagation to less specific multimethods can get tricky in many of the same ways that calls to superclass methods can get tricky.

調(diào)用方法許多方式棘手同樣方式對(duì)較為特定多元進(jìn)行手工傳播會(huì)棘手