To add new methods to a particular class of type t, it only needs to define static methods that accept type t as the first parameter.
要向类型为t的特定类添加新方法,只需定义一个静态方法,它接受类型T作为第一个参数。
The method that does not take the extra parameter creates a new instance of the appropriate type and then calls the method that does take the extra parameter.
没有采用附加参数的方法创建一个新的适当类型的实例,然后调用采用附加参数的方法。
First off, in order to form a legal new expression on a type parameter, such as new T(), it's necessary to make sure that we're calling a constructor that is valid for every instantiation of T.
首先,为了对类型参数构造合法的new表达式(如 newT() ),必须确保我们调用的构造函数对于 T 的每个实例化都有效。
A basic type element surrounded by a Parameter specification defines a new object of the corresponding type within the current context.
由Parameter规范包含的基本类型元素定义了当前环境中相应类型的新对象。
In the Viper 2 release, there is a new DBA configuration parameter that prevents any parsing of XML from a CHAR-type host variable or character string.
在Viper2版中,有一个新的DBA配置参数,该参数可以防止在char类型的主机变量或字符串上执行xml解析。
The parameter selection installation application and maintenance in application of a new elbow type metal oxide arrester to composite transformers are discussed.
论述了新式肘型金属氧化物避雷器在组合式变压器中应用时应该注意的参数选择、装、用和维护等问题。
A new parameter of quenching type contribution factor (QTCF) was established so as to denote degree of contribution from chemical or color quenching in a mixed quenching sample.
本文定义了一个新的参数:淬灭类型贡献因子(QTCF),借以描述化学和颜色两种淬灭对混合淬灭样品淬灭的贡献程度。
A new type of linear vibration table is brought forward, whose application to INS error model parameter separation is investigated.
本文提出了一种新型线振动台,探讨了将其用于惯导平台误差模型参数分离的可行性。
A new type of three parameter combination logging tool is developed to improve the effect of differential temperature logging technology during medium to late term of oil field development.
为提高微差井温测井技术在油田开发中后期的作用,开发设计了一种新型的三参数组合测井仪。
An approximation method is presented for a new type of general parameter filter whose attenuation response in the passband is maximally flat.
本文提出一种新类型(通带衰减为最大平坦型)的通用参数滤波器的逼近方法。
It also involves a new type of welding parameter display system, can display voltage, current and welding speed.
本文还涉及到了新型的焊接参数显示系统,可以显示电压,电流和焊接速度。
In order to provide theoretical basis for the parameter of design on a new type of vibration generator, this parameter of design is seen as a double-body pendulum and mathematical model.
为了给一种新型振动机的参数设计提供理论依据,将其抽象为双物理摆的力学、数学模型。
The new roller type configuration theme is put forward and straightening system mechanical parameter and straightening power of this new theme is calculated.
提出了新的辊系配置方案,并针对此种新的辊型配置方案,计算出了矫直系统力学参数及矫直功率。
Pressure Filter is a new type of high-efficiency solid-liquid separation equipment. The pulp liquid level is a key parameter of affecting the working conditions of the equipment.
加压过滤机是一种新型高效固液分离设备,其矿浆槽液位是影响该设备工况的关键参数。
In this paper a new parameter plane method is proposed and is used to design the stability augmentation control system of a certain type of aircraft and satisfactory results are obtained.
本文提出了一种新的参数平面法,设计了某型歼击机的控制增稳系统,并取得了满意的结果。
Its recognition results can be gained fast and intuitively. The simulation experiment results show that this new method is of practicability and validity in radar signal parameter type judgment.
该方法理论简单、实现容易且可以快速直观地得出识别结果,仿真实验结果表明新方法用于雷达信号参数类型判断具有实用性和有效性。
A new type of adaptive PID controller using diagonal recurrent neural network (DRNN) is presented. An on-line learning algorithm based on PID parameter self-tuning method is given.
提出了一种基于对角回归神经网络的PID控制器结构,给出了PID参数在线自整定的学习控制算法。
This article displays the special structure of the new type of brand remover, demonstrates its working process in details and sets its main designing parameter.
通过对新型除标机的特殊结构设计,详细分析了新型除标机的工作原理,确定了新型除标机的主要设计参数。
This article displays the special structure of the new type of brand remover, demonstrates its working process in details and sets its main designing parameter.
通过对新型除标机的特殊结构设计,详细分析了新型除标机的工作原理,确定了新型除标机的主要设计参数。
应用推荐