• If you have an immutable object, you must set whatever state it will contain in the constructor.

    如果一个不可变对象必须要构造函数设置该对象包含任何状态

    youdao

  • Only the parent and style are set in the constructor; all other properties are set on the created object.

    只有控件样式构造函数设置的,其他所有属性是在已创建对象设置的。

    youdao

  • This parameter is passed on the object constructor to mandate that it is set.

    参数对象构造函数传递强制设置该参数。

    youdao

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

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

    youdao

  • Thus, most controls also have a second constructor argument, often called style, that provides flags to set these options.

    因此大多数控件还有另外一个构造函数参数,我们通常称之为样式参数提供了设置这些选项标记

    youdao

  • The mapping object is allocated in the constructor (set in italics).

    映射对象构造方法分配(见其中的斜体部分)。

    youdao

  • You know that Set has a copy constructor.

    知道Set一个拷贝构造函数

    youdao

  • These properties can be specified as system properties or, if needed, they can be set within a properties object and passed to UDDIProxy in a new constructor.

    这些属性可以作为系统属性来指定如果需要,还可以在属性对象设置它们,并传送构造器的UDDIProxy。

    youdao

  • I can set the assembler I want in the constructor, but I need to return a normal ModelMBean if the assembler is changed.

    可以构造函数设置需要配器但是装配器改变时需要返回一个普通ModelMBean。

    youdao

  • When the String constructor runs, the length and offset are then set to their desired values.

    String构造器运行时,字符串长度偏移量设置成所需要

    youdao

  • The creator attribute here is set to the value new, meaning that DWR should call the class's default constructor to obtain an instance.

    这里creator属性设置new,这意味着DWR应当调用默认构造函数获得实例

    youdao

  • As you can see in Listing 4, the RulesEngine class's constructor takes as an argument a string value that represents the name of the file that contains a set of business rules.

    清单4可以看到rulesengine构造函数接受字符串形式参数,该值表示包含业务规则集合文件名称

    youdao

  • Much of that is because the test program is set up in a way that is pretty modularwith a constructor and init() methodso you can easily reuse this code for your own purposes without lots of changes.

    主要是因为测试程序按照非常模块化方法编写 —使用构造函数init()方法以便不需要很大修改用于自己的程序

    youdao

  • Instead, you can pass in the GuiTestObject to the constructor once, and then use the methods to set and get the text as instance methods instead of class methods.

    可以GuiTestObject传递构造函数中一然后设置获取文本方法用作实例方法,而不是用作方法。

    youdao

  • To add elements to a set, we can either call add() for each element, or create a Collection and pass that to the constructor.

    集中添加元素我们可以每个元素调用add() ,创建一个Collection将它传递构造函数

    youdao

  • We set the trace option in an options array parameter, which we pass to the SoapClient constructor. We modify our use of the constructor to.

    我们options数组参数设置trace选项,将该参数传递给SoapClient构造函数

    youdao

  • But the fact that they are all gathered together in the constructor keeps things neat and tidy, and dropping the set prefix and the parentheses at the end reduces visual noise considerably.

    但是,设置器方法集中构造器中,代码更简洁了,去掉set前缀末尾圆括号也大大减少了视觉干扰

    youdao

  • Then set options as arguments to the constructor.

    然后通过构造函数的参数设置选项

    youdao

  • The constructor function has no parameters and returns an instance of the type with all of its attributes set to null values.

    构造函数没有参数并且返回类型实例中的所有属性都为空。

    youdao

  • Because this bean definition is abstract, I can reuse the definition a number of times later and set the constructor argument to a suitable domain class.

    因为bean定义抽象的,所以我将来可以无数地重用定义,构造函数参数设置合适的域类。

    youdao

  • The constructor USES these parameters to set its own properties. Here is how you might now instantiate a Dictionary object.

    构造函数使用这些参数设置自有属性

    youdao

  • I've successfully grafted in a call to the added code at each store into the Bean.m_a field (one in the constructor and one in the set method).

    成功每一存储Bean . m_a字段时,加入添加的代码调用(一次是构造函数中,一次是在set方法中)。

    youdao

  • This is done in the constructor so all one needs to do is not set them.

    构造一个使所有需要不是设置它们

    youdao

  • You can also set properties on an object during the construction of the object by using the property names and assigning values just as you use named constructor arguments.

    通过使用命名构造函数参数一样使用属性名称可以对象构造过程中为对象设置属性

    youdao

  • If you want your derived class to set this property, you should do so within the static constructor or in other initialization routines.

    如果希望派生设置属性应该静态构造函数其他初始化完成此工作。

    youdao

  • Each class should have an appropriate constructor, data members to set and read methods.

    每个应有合适构造方法数据成员设置读取方法

    youdao

  • You could still accidentally use a private constructor (e. g. in a restricted set of scopes), but the compiler will forbid you from ever using a deleted constructor.

    仍然可以不小心使用私有构造方法(例如限制范围),编译禁止使用过删除构造函数。

    youdao

  • In class-based languages a new instance is constructed through the class's constructor and an optional set of constructor arguments.

    基于语言中一个新的实例通过构造构造器可选参数来构造,结果实例由类选定的行为和布局建立模型。

    youdao

  • Illustrates how to use inheritance to add a common set of properties and methods to objects created with a given constructor function.

    阐释如何使用继承通用属性方法添加给定构造函数创建对象

    youdao

  • The constructor will set the credit limit instance variable to be equal to that specified as a parameter.

    构造实例变量(即信用限制)一个参数

    youdao

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

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

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