constructors
美 [k?n?str?kt?r]
英 [k?n?str?kt?(r)] 
- n.建設(shè)者;【?!吭齑紟?/span>
- 網(wǎng)絡(luò)構(gòu)造函數(shù);構(gòu)造器;建造者
詞形變化
復(fù)數(shù):constructors
英漢解釋
英英解釋
例句
However, it is often useful to provide additional constructors.
然而,提供其他構(gòu)造函數(shù)通常十分有用。
Writing constructors is often a repetitive task.
編寫(xiě)構(gòu)造函數(shù)經(jīng)常是重復(fù)性的工作。
The compiler will also verify that this method is called from user defined constructors and report a warning or error it is not.
方法。編譯器還將驗(yàn)證方法是否是從用戶(hù)定義的構(gòu)造函數(shù)調(diào)用的,如果不是,則報(bào)告一個(gè)警告或錯(cuò)誤。
Indexed properties, methods, and constructors are allowed to be overloaded; fields and events must not be overloaded.
允許重載索引屬性、方法和構(gòu)造函數(shù);不能重載字段和事件。
Defining the reasonable set of constructors is often the simplest approach.
通過(guò)定義合理的構(gòu)造器集合通常是最簡(jiǎn)單的途徑。
Any constructors that you define for structures must have at least one argument so that they do not conflict with the default constructor.
為結(jié)構(gòu)定義的任何構(gòu)造函數(shù)都必須至少有一個(gè)參數(shù),以便不會(huì)與默認(rèn)構(gòu)造函數(shù)沖突。
Constructors enable the programmer to set default values, limit instantiation, and write code that is flexible and easy to read.
構(gòu)造函數(shù)使得程序員可設(shè)置默認(rèn)值、限制實(shí)例化以及編寫(xiě)靈活且便于閱讀的代碼。
Building constructors in Ji Nan and Qingdao have found our product easy to install and very attractive in appearance.
濟(jì)南與青島的建筑商,大多認(rèn)為我公司產(chǎn)品易于安裝,且外觀頗具吸引力。
Traits don't support auxiliary constructors, nor do they accept an argument list for the primary constructor, the body of a trait.
Traits不支持輔助構(gòu)造函數(shù),它們也不支持在主構(gòu)造函數(shù),trait的主體里的參數(shù)列表。
This behavior is referred to in the DI world as constructor injection, because the instance is passed through one of the constructors.
這個(gè)行為在DI世界中稱(chēng)作構(gòu)造函數(shù)注入,因?yàn)?/c>實(shí)例是通過(guò)一個(gè)構(gòu)造函數(shù)傳遞的。
There is a third possibility: The element type might be of a class type that does not define any constructors .
還有第三種可能性:元素類(lèi)型可能是沒(méi)有定義任何構(gòu)造函數(shù)的類(lèi)類(lèi)型。
Instance constructors can also be used to call the instance constructors of base classes.
也可以用實(shí)例構(gòu)造函數(shù)來(lái)調(diào)用基類(lèi)的實(shí)例構(gòu)造函數(shù)。
YUI Profiler allows you to register functions, class constructors, and objects to be measured.
YUIProfiler可以注冊(cè)要測(cè)量的函數(shù)、類(lèi)構(gòu)造函數(shù)和對(duì)象。
Or you could declare it in an initialization method that is called by all constructors.
或是可以在所有建構(gòu)函式呼叫的初始設(shè)定方法中宣告。
RAILWAY ROLLING STOCK. DELIMITATION OF TECHNICAL ALLOWANCES BETWEEN THE CONSTRUCTORS AND THEIR SUPPLIERS FOR THE EXECUTION OF AN ORDER.
鐵路車(chē)輛.訂貨時(shí),廠家及其供貨者之間提供技術(shù)的規(guī)定
As shown in Listing 7, the code is verbose because many object constructors do not take parameters.
如清單7所示,代碼十分冗長(zhǎng),因?yàn)?/c>許多對(duì)象構(gòu)造函數(shù)都不帶參數(shù)。
These bounds could specify the set of available constructors that must be present in any instantiation of the parameter.
這些界限可以指定一組可用的構(gòu)造函數(shù),它們必須出現(xiàn)在參數(shù)的每一個(gè)實(shí)例化中。
Just like an admin command, a task command should provide constructors to create and load commands.
就像管理命令一樣,任務(wù)命令應(yīng)該為創(chuàng)建和加載命令提供構(gòu)造器。
Two polymorphic Constructors allow for persistence of either simple String values or Objects of any sort.
兩個(gè)Constructors允許簡(jiǎn)單字符串值或者任意種類(lèi)Objects的持續(xù)。
You should not use your instance constructors, some special private function, or any other idiom to initialize static variables.
不應(yīng)該使用實(shí)例構(gòu)造函數(shù)、一些特殊的私有方法、任何其它習(xí)慣來(lái)初始化靜態(tài)變量。
On either side a checker of open ditches showed where the municipal constructors had designed a system of drainage.
馬路兩旁縱橫交錯(cuò)的陰溝說(shuō)明承包市政工程的商人曾計(jì)劃在那里修建排水系統(tǒng)。
This means that instances of custom attributes cannot be created, because that would require executing their constructors.
這意味著不能創(chuàng)建自定義屬性的實(shí)例,因?yàn)?/c>這將需要執(zhí)行其構(gòu)造函數(shù)。
Derivation allows you to add any fields you require, as well as custom methods and constructors for handling them.
派生使您得以添加任何所需的字段,和添加處理這些字段的自定義方法和構(gòu)造函數(shù)。
The constructors for processing instructions and XML comments use the same syntax as that of the corresponding XML construct.
用于處理指令和XML注釋的構(gòu)造函數(shù)使用的語(yǔ)法與相應(yīng)的XML構(gòu)造使用的語(yǔ)法相同。
Constructors called in the order of base-to-derived. However, the execution of destructors cannot be controlled by the programmer.
構(gòu)造函數(shù)以基類(lèi)到派生類(lèi)的順序被調(diào)用。但是,析造函數(shù)不受程序員的控制。
Then, inside the generic class definition, the only constructors that could be called are those declared in the bound.
因而,在泛型類(lèi)定義內(nèi)部,唯一可調(diào)用的構(gòu)造函數(shù)是那些在界限中聲明的構(gòu)造函數(shù)。
These three possibilities make sense because parameter types can only be declared on classes, constructors, and methods.
這三個(gè)類(lèi)是有意義的,因?yàn)?/c>參數(shù)類(lèi)型只能在類(lèi)、構(gòu)造函數(shù)和方法中聲明。
One of the constructors passes in a mask and mask name, and the other does not.
一個(gè)構(gòu)造器會(huì)傳遞蒙版和蒙版名,其他的則不會(huì)。
When finished profiling, functions, objects, and constructors can be unregistered individually, clearing the profile data.
當(dāng)分析完成后,函數(shù),對(duì)象,還有構(gòu)造器應(yīng)當(dāng)分別注銷(xiāo),清理分析數(shù)據(jù)。
For reference types, object constructors are only called as part of the creation of an object, and objects are only initialized once.
對(duì)于引用類(lèi)型,調(diào)用對(duì)象構(gòu)造函數(shù)僅作為創(chuàng)建對(duì)象的一部分,對(duì)象只初始化一次。
Constructors do not escape URI strings if the string is a well-formed URI including a scheme identifier.
如果URI字符串是格式良好的URI并且包括方案標(biāo)識(shí)符,
In an acrimonious season, McLaren was fined $100 million in a spying scandal and docked all of its constructors points.
在同一個(gè)賽季,麥克拉倫由于間諜丑聞而被罰款1億美元,并被取消了所有的車(chē)隊(duì)積分。
Returns an array of Constructor objects reflecting all the constructors declared by the class represented by this Class object.
返回一Constructor對(duì)象數(shù)組,映射該Class對(duì)象表示的類(lèi)中的所有聲明的構(gòu)造函數(shù)。
This constructor is called by derived class constructors to initialize state in this type.
派生類(lèi)構(gòu)造函數(shù)調(diào)用此構(gòu)造函數(shù)初始化該類(lèi)型中的狀態(tài)。
In Java code you can declare multiple overloaded constructors to enable the instantiation of the class by a variety of different signatures.
在Java代碼中,您可以通過(guò)使用各種不同的簽名聲明多個(gè)重載的構(gòu)造函數(shù),從而支持實(shí)例化。
Another behavior unique to type constructors is how the runtime manages exceptions in a type constructor.
類(lèi)型構(gòu)造函數(shù)的另一個(gè)獨(dú)特行為是運(yùn)行庫(kù)管理類(lèi)型構(gòu)造函數(shù)中的異常的方式。
In some applications, it might be possible for other threads to access class members before their class constructors have completely run.
在某些應(yīng)用程序中,其他線程可能在它們的類(lèi)構(gòu)造函數(shù)完全運(yùn)行之前訪問(wèn)類(lèi)成員。
Introduces static constructors, constructors which can be used to initialize static data members.
介紹靜態(tài)構(gòu)造函數(shù),此類(lèi)構(gòu)造函數(shù)可用于初始化靜態(tài)數(shù)據(jù)成員。
It was taken over by Brawn GP, who went on to win the constructors' title in the current season, which ended in Abu Dhabi on Sunday.
布朗GP車(chē)隊(duì)接手了本田留下的爛攤子,他們在上周日阿布扎比站結(jié)束后,獲得本賽季的車(chē)隊(duì)總冠軍。
Private constructors, methods, fields, and properties can be accessed and invoked using Reflection whenever the code is fully-trusted.
只要代碼完全受信任,就可使用“反射”訪問(wèn)和調(diào)用Private構(gòu)造函數(shù)、方法、字段和屬性。
The number of deprecated constructors in Date severely restrict the number of ways you can create such an object.
Date中不贊成使用的構(gòu)造函數(shù)的數(shù)量嚴(yán)重限制了您創(chuàng)建此類(lèi)對(duì)象的途徑。