• The class shown in Listing 1 defines a few class variables.

    清单1中显示的类定义了几个类变量。

    youdao

  • You access class variables and methods through the class.

    你可以直接通过类名访问类变量和方法。

    youdao

  • First you'll define a few more class variables, as shown in Listing 8.

    首先,您将再定义几个类变量,如清单8所示。

    youdao

  • Listing 6 provides the instance and class variables for BuddyNoteView.

    清单6提供了BuddyNoteView的实例和类变量。

    youdao

  • What you probably want are class variables rather than method parameters.

    你可能想要什么是类变量而不是方法参数。

    youdao

  • The code in Listing 15 implements the mapping between the XML document and the class variables.

    清单15中的代码实现XML文档和类变量之间的映射。

    youdao

  • These class variables (shown in Listing 1) get set in the class's constructor, as shown in Listing 2.

    这些类变量(如清单1所示)在类的构造函数中进行设置,如清单2所示。

    youdao

  • Unlike instance variables, class variables are associated with all objects of a particular class and not with individual objects.

    与实例变量不同的是,类变量与该类所有的对象关联在一起而非某个特定的对象。

    youdao

  • These variables are called class variables and, as their name suggests, are defined at the level of the class rather than at the level of a method.

    这种变量被称为类变量,顾名思义,该类型的变量在类的级别定义而非方法的级别。

    youdao

  • It does not have classes, but it does have constructors which do what classes do, including acting as containers for class variables and methods.

    它没有类,但是它有构造函数来做类的事情,包括声明类的变量和方法。

    youdao

  • Class variables must also be used with care, but they are precisely the right tool for introducing names for constants, as discussed in the following section.

    类变量同样需要小心使用,但它们又恰恰是引入下一部分要讨论的常量命名的最好工具。

    youdao

  • As you can see the type of the class variables is generic, but you can improve the generator to understand if a variable should contain a number or a function.

    如你所见,类的成员变量的类型是通用类型,但是你可以改进产生器,使之知道一个变量应该包含一个数字或一个函数。

    youdao

  • The other task was to explore the influence factors of the undergraduates' internet altruistic behavior such as individual variables, class variables and school variables.

    另一任务是探讨影响大学生网络利他行为的个体变量、班级变量和学校变量因素。

    youdao

  • Put simply, a class is a discrete block or bundle of variables and methods.

    简单地说,类是一个由变量和方法组成的离散块或束。

    youdao

  • youdao

  • Notice that when you change the variables on one equivalence class, that change cascades to the other classes.

    注意,当您改变一个等价类的变量时,这个变化会串联影响到其他等价类。

    youdao

  • Be sure to note the warning below about not using class level variables.

    要确保注意下面的有关不要使用类级别变量的警告。

    youdao

  • This header file should ideally contain all the class definitions, member functions, and variables.

    在理想情况下,头文件应该包含所有类定义、成员函数和变量。

    youdao

  • That is, in C++, objects of the same class cannot see one another's private member variables.

    也就是说,在 C++ 中,同一个类的对象无法看到彼此的私有成员变量。

    youdao

  • The callback handler class has two thread local variables that can store the user ID and password from the client instance.

    这个回调处理器类拥有两个线程本地变量,用于存储来自客户端实例的用户ID和密码。

    youdao

  • The list of instance variables in this class is worth noting because they define the result object that is generated by the analysis procedure.

    这个类中的实例变量列表值得注意,因为它们定义了由分析过程生成的结果对象。

    youdao

  • In analysis, you will discover some of the attributes (i.e., class data variables) that your classes will need in order to meet their responsibilities.

    在分析中,我们会发现,类为了完成自己的职责,会需要一些属性(也就是类的属性变量)。

    youdao

  • Create the public class and the content adapter variables.

    创建公有类和内容适配器变量。

    youdao

  • New refactorings - There is a new extract class refactoring, which extracts a group of variables into a class and preserves member access.

    新的重构——有一个新的提取类重构功能,它把一组变量提取到一个类中,并且保留了成员访问函数。

    youdao

  • The class above has several member variables.

    上述类有多个成员变量。

    youdao

  • Within the body of a class, you can declare special variables called properties.

    在类的主体中,可以声明叫做属性的特殊变量。

    youdao

  • It was more reliable at finding ownership relationships when the variables were declared as member variables of the class.

    当类的变量被声明为类的成员变量时,找到所有权关系是更加可靠的。

    youdao

  • Finally, it dawned on me that they had declared many variables with global scope (class instance variables) via declaration elements.

    最后,我发现他们通过声明元素声明了很多全局变量(类实例变量)。

    youdao

  • The actual type arguments can be matched to the type variables defined by the generified class.

    实际的类型参数可以由泛型类定义的类型变量匹配。

    youdao

  • The actual type arguments can be matched to the type variables defined by the generified class.

    实际的类型参数可以由泛型类定义的类型变量匹配。

    youdao

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

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

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