任何此类附加构造函数都必须调用主构造函数。
Any such additional constructors must call the primary constructor.
Scala可以区分主构造函数和0个或多个辅助构造函数。
Scala distinguishes between a primary constructor and zero or more auxiliary constructors.
一种是主构造函数,其参数出现在紧靠类型名称后面的括号中。
One is the primary constructor, whose parameters appear in parentheses just after the type name.
它调用主构造函数,并且传入Nil (Nil表示了一个空的List对象)。
It calls the primary constructor with Nil (which represents an empty List object).
主构造函数,类的主题,有一个参数列表来接受标签字符串和回调函数的列表。
The primary constructor, which is the body of the entire class, has a parameter list that takes a label string and a list of callback functions.
子类的主构造函数必须调用父类的一个构造函数,无论是主构造函数或者是辅助构造函数。
The primary constructor in a derived class must invoke one of the parent class constructors, either the primary constructor or an auxiliary constructor.
单矿体定位于其主构造与次一级构造或次级构造与其它构造的交汇部位,形成富金矿包。
The simple orebody is located in the intersection parts between the main structures and secondary structures or between the secondary and other structures, which can form a gold ore shoot.
Traits不支持辅助构造函数,它们也不支持在主构造函数,trait的主体里的参数列表。
Traits don't support auxiliary constructors, nor do they accept an argument list for the primary constructor, the body of a trait.
被调用的构造函数可以是另外一个辅助构造函数或者主构造函数,而且它必须出现在辅助构造函数主体的第一句。
The constructor invoked may be either another auxiliary constructor or the primary constructor, and it must be the first statement in the auxiliary constructor's body.
因为所有的辅助构造函数最终都会调用主构造函数,它主体中进行的逻辑检查和其它初始化工作会在所有实例被创建的时候执行。
Because all auxiliary constructors eventually invoke the primary constructor, logic checks and other initializations done in the body will be performed consistently for all instances created.
RadioButtonWithCallbacks的主构造函数接受3个参数,一个开关状态(真或假),一个标签,以及一个回调函数例表。
The primary constructor for RadioButtonWithCallbacks takes three parameters: an on state (true or false), a label, and a list of callbacks.
主构造函数接受一个label(标签)参数和一个callbacks(回调)的list(列表),这些回调函数会在按钮的click方法被调用时被调用。
The primary constructor takes a label argument and a list of callbacks that are invoked when the button's click method is invoked.
确认一些不正确的思维模式,用构造化的心理疗法中的认知行为疗法主改变你的反应方式用
Recognize unhealthy thinking patterns and change the way you respond through structured psychotherapy sessions known as cognitive behavioral therapy.
然后构造了在预给极点情况下求主对角线和副对角线上向量值有理插值的矩阵算法。
In addition this paper constructs a matrix algorithm for computing bivariate diagonal vector valued rational interpolants with preassigned poles.
中期(喜马拉雅早期)是主变形期,西带显示由SW向NE逆冲,以叠瓦状逆冲构造系统为其特征。
The middle(early Himalayan)is the main deformation, characterized by the imbricate thrust structure system, whose west zone shows thrusting from SW toward NE.
用单元预测法对研究区主采煤层小构造的复杂程度进行了定量预测。
The unit forecast method is applied to forecast quantitatively the complicated degree of small structure in main coal seam.
在主孔2000米之内,存在复杂的脆性破裂系统和构造应力场。
There exist a complex brittle fracture system and a tectonic stress field within 2000 m of the main hole.
采用的静止模板是利用主成份分析构造的。
The templates were constructed by principal component analysis.
在岩块拆离滑脱过程中所形成的主拆离滑脱带、次级拆离滑脱带及层间滑动断裂成为较发育的构造扩容空间。
The main and second detachment belts as well as interformational faults were formed during the gliding of rock masses, and became well developed structural expanding space.
结果表明,断裂的主反转期是早第三纪早期,构造反转结束于早第三纪中晚期。
The results of discussion show that the main inversion period of the fault occurred in early Tertiary and the structure inversion ended in the middle and late periods of early Tertiary.
本文用地质、地貌、地震等综合方法研究第四纪构造应力状态。 本区第四纪主压应力为北东东—南西西方向。
The Quaternary tectonic stress states over the mentioned area and its relations to earthquakes are studied by combining the methods of geology, geomorphology. seismology and repeated levelling.
但在此重要的一点就是,应用程序的内部构造是隐藏的,而仅稳定且简单的接口才会暴露给主应用程序。
But the important bit here is that the inner architecture of the application is hidden and only a stable, simple interface is exposed to the master application.
对挂篮主梁悬浇施工中出现的构造和功能方面的问题作了进一步的探讨。
A further discussion was carried out on the Basket of Cantilever construction of the main beam in the structure.
结果主成分分析法构造的财富指数与家庭收入和支出调查一致性较好。
Results It was coherence between average income-consumption per person and wealth index constructed by the main component analysis.
现在构造活动与地震活动似均逐渐向南移到主边界大断层一带。
It seems that the recent tectonic and earthquake activities gradually move towards the south reaching the great fault of the main boundary.
本文用主成分分析的方法构造竞争指标并建立单木生长模型。
This paper forms competition index by means of principle elements analysis and sets up individual tree growth model.
灵北主断裂带则主要扮演了一种导矿构造的作用。
Lingbei main fracture zone mostly played an ore conducting role in the process.
本文应用主曲率分析技术、平面应力分析技术、构造滤波技术,从地质形态、力学角度、信号处理的角度给出了地质构造的裂缝发育评价。
This paper USES principal curvature, plane stress and structure filtering to evaluate the development of fracture at geology shape, mechanical and signal handle facet.
本文应用主曲率分析技术、平面应力分析技术、构造滤波技术,从地质形态、力学角度、信号处理的角度给出了地质构造的裂缝发育评价。
This paper USES principal curvature, plane stress and structure filtering to evaluate the development of fracture at geology shape, mechanical and signal handle facet.
应用推荐