If the value being assigned is an immutable value class, the method returns the object itself, instead of a copy of the class.
如果指派的值是不可变动的实值类别,则方法会传回物件本身,而不是类别的复本。
If the value being assigned is a mutable value class, the method returns a shallow copy of the class, because value classes have copy semantics.
如果分配的值是可变值类,则该方法返回该类的浅表副本,因为值类拥有复制语义。
Usually, I don't spare time for exercise, but I value the physical education class at school.
通常,我不会花时间来做运动,但是我很重视学校的体育课。
The methods of this class manage (key, value) pairs and multivalue fields.
该类的方法将管理(关键字,值)对和多值字段。
It might be worth considering an enumeration here since it would remove the need for a reference type and store the value directly in the class.
这里,使用枚举可能值得考虑,因为它可以消除对引用类型的需要,并且将值直接存储到类中。
And is able to then say, inside of that class definition, find the value of x.
这个类的定义这里然后取值,也可以这么说,在类的定义的里面。
You can then store these Settings in static members of the class, making the value available to subsequent messages.
然后,您可以将这些设置保存在类的静态成员中,以便后续的消息可以使用其值。
Obtains the reference for the table ID, value object class, session attribute for data rows, and session attribute for combo box if one exists.
取得对表格ID、值对象类、数据行的会话属性和组合框(如果有的话)的会话属性的引用。
These handlers can perform any number of tasks, including calling a service, setting a value on a class, calling a method on a class, or dispatching another event.
这些事件处理器可以执行任何数量的任务,包括对某项服务的调用,对一个类中某个值的设定,对一个类中某个方法的调用,或者分发另一个事件。
The first two characters of the SQL state are a class value, and the last three characters form a subclass value.
SQL状态的前两个字符是一个类值,后三个字符形成子类值。
In this class, the value in the text box is read and the EJB is called using the EJB client API.
在这一类中,读取了文本框的值以及使用eJB客户端api调用EJB。
An SQL state with a value of 00000 indicates success, whereas a class value of 01 indicates warning conditions, such as data truncation.
SQL状态为00000值就表示成功,类值为01就表示警告,比如数据截断。
What if someone inadvertently passes in a null value for the Class parameter?
如果有人不经意地为Class参数传入一个null值会怎么样呢?
This is sufficient to provide significant value, by complementing Class Designer with visualization features that Class Designer does not support.
通过用ClassDesigner不支持的可视化特性来补充Class Designer,已经足够提供重要的价值了。
Note that this contains one new class value: recipe.
注意,包含一个新的类值:recipe。
Changed the class attribute value of the tag to tundra.
将标签的类属性值更改为tundra。
This method accepts four arguments: a property, a property value, a class, and a parent test object.
该方法接受4个参数:属性、属性值、类和父测试对象。
You might, for example, be using a value object inside a class — such as the BagImpl class above.
比方说,您可以在一个类中使用值对象,就像上面的bagimpl类那样。
Let's start with a simple generic class, a value container called Box, which holds a value of known type.
让我们从一个简单的泛型类开始(一个称为Box的值容器),它持有一个具有已知类型的值。
Creating a value object class is the first part of our RMI solution. The second part is the addition of two valuable methods to our remote interface, as shown in Listing 3.
创建值对象类是我们的RMI解决方案的第一个部分。
This resource relies on a particular class (the value of the class attribute) that will be called, essentially offering an exposed class that will answer to all events generated from the GUI.
这个资源依赖于将被调用的一个特殊类(class属性的值),该类主要用于提供一个已公开的类,以便响应从GUI生成的所有事件。
The invocation parameters specified on these calls denote the name of the attribute (often "class") and its value, the fully-qualified name of the class to be loaded.
这些调用的调用参数指明了属性名(通常是“class”)和它的值,即要加载的类的全名。
In Listing 15, we have an effective container for the object identified by a class attribute value of announcement_summary.
在清单15中,我们为这个对象建立一个有效容器,并用class属性值an nouncement _ summary标识它。
First, change the page title color by adding the color attribute and a HEX color value to the pageTitle class.
首先,通过向pagetitle类添加颜色属性,以及一个hex颜色,来改变页面标题颜色。
Here we identify sticky announcements with a class attribute value in the containing DIV element.
在这里,我们用DIV元素中的一个class属性值标识出置顶的公告。
Append a comma and the following value (which is the class name of our new integration validator).
添加逗号和以下值(该值是新的集成验证器的类名称)。
You can match any span with a class value of command, and place the contents into an actual element, rather than using the default migration to phrase.
可以匹配任何class值为command的span,并把内容放到具体的元素中,而不使用默认的迁移方法。
This method used a PHP switch statement that sets the value for the class attribute based on the first argument in the URL.
这种方法使用一个php分支语句,根据URL中的第一个参数设置class属性值。
In Part 7 you saw how we implement our method of automatically setting a class value based on what section of the Web site is being displayed.
在第7部分中,您看到了我们如何根据要显示的Web站点部分自动地设置class值。
The fully qualified class name is the value of the attribute class in the element provider.
完全限定类名是provider元素class属性的值。
应用推荐