成员变量

  • 网络Member Variable;member;fields;data member
成员变量成员变量
  1. 这是属性(property)名,而不是成员变量名。

    And this is the property name , not the member variable name .

  2. 注意,因为两个提取方法都使用number成员变量,所以要涉及到超类。

    Notice that because both of the extracted methods use the number member variable , it is dragged into the superclass .

  3. 然后定义Book类,用私有成员变量代表每个字段。

    The Book class is then defined , with private member variables for each field .

  4. 最后一部分代码包含解析XML所需的所有成员变量。

    And the last section includes all the member variables needed to parse the XML .

  5. 将数据转换为成员变量和Java对象模型的实例。

    Converting that data into member variables and instances of a Java object model .

  6. 因为该注释类型的成员变量不是一个,所以将一个变量命名为value没有任何意义。

    Note that this annotation type doesn 't have a single-member variable , so you gain nothing by naming one of the variables value .

  7. ContentAssist挑选出的其他成员变量来自后面定义的另一个类。

    The other member variables Content Assist is picking up are from another class , defined later .

  8. 要得到图书的书名,只需得到title成员变量。

    To get the title of the book , simply get the title member variable .

  9. 属性的说明,当windows窗体设计器为组件生成成员变量时会涉及这些属性。

    Properties , which are relevant when the Windows Forms Designer generates a member variable for a component .

  10. COM代理以成员变量的形式持有一个引用,指向其所代表的Java对象。

    It holds a reference to the Java object it represents in a member variable .

  11. 对这个动态类我想做的最后一个改进,是用成员变量访问字段,而不是用笨重的get和set操作符。

    One final improvement I want to make on this dynamic class is to use member variables to access the fields , instead of the clunky get_and set_operators .

  12. 成员变量保存配置项的列表,构造程序装入项,然后名为get()的访问方法返回项的值。

    A member variable holds the list of configuration items , a constructor loads the items , and an accessor method called get () returns the value of an item .

  13. 与Java语言中一样,可以深入到对象中,查看它们的底层成员变量值。

    Just as in the Java programming language , you can drill into objects to see their underlying member variable values .

  14. 首先我们设定Session变量为成员变量,而不是本地变量。

    First , we promoted the session variable to be a member variable , rather than a local variable .

  15. 如果使用ContentAssist查找成员变量,那么可以输入@,并且只看到成员变量。

    If you are looking for member variables using Content Assist , you can start by typing the @ and see just member variables .

  16. 找出每个元素的X坐标和Y坐标,将它们存储在node.x和node.y成员变量中。

    Finding the X and Y coordinates for each element and storing them in node . x and node . y member variables .

  17. 用以前定义过的类型建立一个新的枚举(grade)之后,您就可以像使用其他成员变量一样使用它了。

    By creating a new enumeration ( grade ) of the previously defined type , you can then use it like any other member variable .

  18. 从内部来看,Barrier包含一个成员变量,在创建Barrier对象时,这个成员变量被初始化为指定的进程总数。

    Internally , Barrier contains a member variable that is initialized to the total number of processes specified when the Barrier object is created .

  19. 也要注意,在线程中您不能修改stocks成员变量,正如您之前所做的。

    Also , notice that , in the thread , you do not modify the stocks member variable , as you did previously .

  20. 存在很多成员变量,这是因为XML解析器是一个基于回调的解析器,这表示它在类中保留有很多状态。

    There are a lot of them because the XML parser is a callback-based parser , which means that it holds a lot of state in the class .

  21. 在这个新线程中,您可以访问stocks,一个封装Activity(此类创建了UI)的成员变量。

    In this new thread , you then access stocks , a member variable of the enclosing Activity ( the class that creates the UI ) .

  22. 下一步是添加对类的访问控制以确保类的使用者无法直接读写$items成员变量。

    The next step is to add the access controls to the class to ensure that clients of the class can 't read or write the $ _items member variable directly .

  23. 实际上,对于简单的映射(只需修改元素名和Java类或成员变量的名称),只需一点儿时间就能编写好映射文件。

    In fact , for simple mappings where you 're just changing names of an element to a Java class or member variable the mapping file will take you seconds to put together .

  24. 可以使用添加成员变量向导将成员变量添加到用mfc创建的对话框控件。

    You can use the add member variable wizard to add a member variable to a dialog box control created using mfc .

  25. 代码补全,可以补全包,类,属性,成员变量,变量,方法,关键字,甚至对于SwingUIbuilder有特殊的支持。

    Code completion for packages , classes , properties , fields , variables , methods , keywords , and even specific support for the Swing UI builder .

  26. 此外,您常常需要在适当的时候将指向其他类的类成员变量设置为null。

    Also , many times member variables of a class that point to other classes simply need to be set to null at the appropriate time .

  27. 因为这种优化无法做到普遍适用,而且要求引入新的成员变量,所以最好不要直接将它添加到Rope类。

    Because this optimization is not generally applicable and because it requires the introduction of new member variables , it is best not to add it directly to the Rope class .

  28. 在Unity中通常不需要使用路径名来访问资源,相反你可以通过声明一个成员变量来暴露一个资源的引用,然后在检视面板中指定它。

    In Unity you usually don 't use path names to access assets , instead you expose a reference to an asset by declaring a member-variable , and then assign it in the inspector .

  29. 反向的过程称为编组(marshalling):您应该能够把Java类的成员变量中存储的数据转换为XML文档。

    The same is true in reverse , or marshalling : you should be able to take your Java classes and convert the data stored in those classes'member variables into an XML document .

  30. Android应用是用Java语言编写的,由于Java中成员变量的特殊性,本文提出了成员变量摘要的概念,并和函数摘要进行了整合。

    Android applications are written in Java language , due to the particularity of the field variables in Java . This thesis proposes the concept of field variables summary and integrates it with function summary .