• Often developers will add many fields to classes without realizing that each int field they add to a class will be multiplied by a large factor (the number of instances) at run time.

    通常开发人员添加很多字段而未意识到添加每个整型字段都会运行时与一个较大因数实例数量相乘

    youdao

  • For example, as shown in the figure, we are trying to add a text input field with the name "tel" and the value of "tel" should be of type int.

    例如我们按照示的一样视图添加一个文本输入域名为“tel”,“tel”,类型int

    youdao

  • To create a template class such as template class oneT, int X> {int op(){}};, create a UML class and then add the following two template parameters and one UML operation

    创建模板例如templateclassoneT,intX> {intop(){}};,首先创建一个UML 类,然后添加下面两个模板参数个 UML操作

    youdao

  • Here we will add three fields: id, name, and address of types int, text, and text, respectively. Your screen should look like this.

    我们在这里添加3个idnameaddress类型分别为inttext和text。

    youdao

  • Create a UML class class1 and add an operation op with return type int to it.

    创建umlclass1并且向其添加操作op返回值类型int

    youdao

  • Right-click the class and add a template parameter with name T. Add operations such as isEmpty():bool ,getSize():int.

    在此类上添加一个名为T的模板参数。 添加诸如isEmpty():bool ,getSize():int之类的操作

    youdao

  • Add two parameters of type int to the operation, and name them row and column.

    操作添加两个int类型参数将其命名rowcolumn

    youdao

  • Add another method, and name it parse_line, with two input parameters - line and argv - along with a return parameter with int as the type. (see Figure 5).

    添加另外一种方法将其命名为parse_line,其两个输入参数为—lineargv以及int返回参数(见于5)。

    youdao

  • Add a method called get with return type as the template parameter t from the method (as shown in Figure 4), and an input parameter named index whose type is int.

    添加一个名为get方法方法中,使返回类型模板参数t(如图4所示),然后输入参数名字index,其类型int

    youdao

  • Add a public field named distance to Point, and set its type to int.

    Point添加名为distancepublic字段类型设置int

    youdao

  • Add a String field called name and an int field called id.

    添加名为nameString字段名为idint字段。

    youdao

  • Note that a numeric addition has occurred because the input parameter to the add function is bound to an int type argument at function execution time. Now, try this.

    注意由于add函数输入参数运行绑定int自变量,因此产生数值增加

    youdao

  • Note that a numeric addition has occurred because the input parameter to the add function is bound to an int type argument at function execution time. Now, try this.

    注意由于add函数输入参数运行绑定int自变量,因此产生数值增加

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定