We can use a pattern called Double Dispatch to pull out the variation into the subclasses in such a way that we don't break existing interface contracts.
我们可以使用称为双重分发的模式将变化推入子类中,通过这种方式,我们不需要破坏现有的接口定义。
Note that evaluate returns a Double, which means that each case in the pattern match is going to have to evaluate into a Double value.
注意evaluate返回了一个Double,它意味着模式匹配中的每一个case都必须被求值成一个double值。
Under the double influence of foreign novels and classical Chinese novels, it made conscious use and reform of this pattern.
在域外小说以及中国传统小说叙事模式的双重影响下,它对这一叙事模式进行了自觉的运用和改造。
The side walls feature a double stretcher-stretcher bond that results in a pattern of diagonal perforations, following the direction of the sloping site.
侧墙以粘结在一起的双层横木为特色,形成了一种斜向贯穿的图案,顺应倾斜的基地的方向。
Second, it USES resource proxy pattern to realize role-based access control of mobile agents. Thus, it can give the sensitivity resource double protection.
二是采用资源代理模式实现移动代理基于角色的权限特化,对敏感资源进行双重保护。
At the same time, the pattern that is formed by the highest degree adverbs combined with the modified component involves three kinds: fronting, postposing and double one on the tactic mode.
同时,在组配模式上,极性程度副词与被饰成分所形成的格式主要有前置、后置以及双重等三种类型。
Moreover, the rural disease pattern are now transforming to chronic pattern, thus the farmers are now facing double disease burdens.
农村疾病模式也正向慢性病模式转变,农民面临双重疾病负担。
A large pattern. Double room, luxurious decoration have central air conditioning and heating!
大格局的双客厅,豪华装修有中央空调和地暖!
The systematic pattern and its actualities of tourism anthropology research are analyzed from the double dimension of the entrance process of tourism and cultural contact in practice.
从旅游进入过程和文化的实际接触的二维角度分析了旅游人类学研究的系统模式及其现状。
Finally, the waiting area was set up to solve the problem of waiting for tide and ships, and the pattern of double buoys mooring was adopted in the waiting area design.
最后采取设置候潮区的方法,解决船舶候潮和上、下船舶错航时待航问题,候潮区采用双浮筒系泊方式设计。
A textile weave consisting of double threads interlaced to produce a checkered pattern similar to that of a woven basket.
一种织物编织法,用双层线彼此交叉绕制,产生出和编篮的图案相似的式样。
When the eating habits of the carriers of the double risk variant for obesity was analyzed the pattern was clear.
在携带双肥胖风险基因的人群中对饮食习惯做了明确划分。
Through theoretical analysis and numerical simulation, the pattern reconfigurable feasibility of the structures of butterfly, folded dipole and double-feed is analyzed.
本文通过理论分析和软件数值仿真,分析了蝶形结构、折合偶极子结构以及双馈方式实现方向图可重构的可行性。
The correlated double sampling circuits are realized in the inner system, the circuits can effectively reduce fixed pattern noise.
在系统的内部实现了相关双次采样电路,有效地抑制了固定噪声。
Alternatively, if you've downloaded the source files at the end of this post, simply install the included . Pat pattern set by double clicking on it.
另外,如果您已经下载在文章最后的源文件,只需安装包含。八通过双击它设置模式。
After many years research and practice, the employment-oriented double-certificate education pattern is a suitable operating one.
经多年的研究与实践,以就业为导向的双证书教育模式是目前高职教育较为合理的运行模式。
Finally, the successive regression models for predicting the rice yield of the first crop under double-rice pattern in those regions were developed, with which, the rice yields in 1985 were...
通过逐段回归方法,分区建立了逐段预测模式,并作了1985年分区产量试报。
A pattern of multiple frames, irregularly split frames, and double-page spreads effectively heightens the drama of the story.
多样化的风格,不同寻常的舒叙事构,双页续展有效地提高故事的戏剧性。
Through the calculation of the finite element method(FEM) models for double circular arc profile spiral bevel gear, the stress changing pattern along the length of the tooth is obtained.
用有限元方法,对双圆弧弧齿锥齿轮沿齿长方向齿根应力进行了计算。通过应力计算结果的分析,得出了凸、凹两齿侧应力沿齿长的分布规律。
A cascade neural network composed of double-layer radial basis function (RBF) and linear basis function (LBF) is proposed for pattern classification.
提出了由两层径基函数(RBF)和两层线性基本函数(LBF)网络组成的串联神经网络模式分类方法。
A wave morphology, changing of its order and pattern, double potential and activating time of CS were observed.
观察冠状窦a波激动顺序、波形变化、双电位的有无、冠状窦激动时间。
Based on the double bridge structure of microelectronics test pattern, the method of defect model parameter extraction is presented in this paper.
基于微电子测试双桥结构,本文给出了缺陷特征参数提取方法。
This paper studies the fault classification and diagnosis method of the double-bridge 12-pulse waveform controlled rectifier circuit based on pattern recognition.
研究了一种双桥并联可控整流电路的故障分类及诊断方法。
Engraved pattern of "fortune fish" to double the price, a price an ordinary parrot fish 10, the text is behind the price of the lowest 25.
刻上花纹的“发财鱼”价格翻番,一条普通的鹦鹉鱼卖价10元,文身后的价格最低是25元。
Results 12 patients of congenital aorta valve stenosis were stenosis of double-valve pattern, dilatation of ascending aorta in 8 cases, ascending aorta in 4 cases were natural.
结果:12例主动脉瓣狭窄均为二瓣化狭窄,狭窄后主动脉扩张者8例,不扩张者4例。
1800 relative rotation between the diffraction pattern and micrograph that would not be detectable in the double exposure technique illustrated in fig. l. 3.
图表1。3所示的双曝光技术中对于衍射模型和显微图并没有表示出来,这个倒置,就在衍射模型和显微图之间形成了一个额外的1800相关旋转。
The regular sentence pattern of Da Ya, that is, a paragon of the style of Book of Songs, actually reflected the rhythm of court music under the restriction of Zhou double-tone bells.
“诗体”的典范——《大雅》诗组规整的句式,其实是周代“双音钟”制约下的雅乐节奏的折射。
"Dual Financial theory" has made historical contribution to the exploration of "double entry finance" pattern, but the theory needs to be further DE...
“双元财政论”对“复式财政”的探索作出了历史贡献,但也日益暴露出其局限性,需要进一步发展和完善。
"Dual Financial theory" has made historical contribution to the exploration of "double entry finance" pattern, but the theory needs to be further DE...
“双元财政论”对“复式财政”的探索作出了历史贡献,但也日益暴露出其局限性,需要进一步发展和完善。
应用推荐