Rope类被设计成不可修改,这意味着mutator函数永远不会修改原来的Rope实例,而是返回一个修改后的副本。
The Rope class is designed to be immutable, meaning that mutator functions never modify the original Rope instance, but, rather, return a modified copy.
在任何情况下,我们应避免执行不恰当的修改,比如将函数名或类名作为前缀以生成独特的名称。
In each case, we avoid doing ugly hacks, such as prefixing the name of the function or class to make the name unique.
这些类定义了修改由它们所表示的对象的所有方法的方法,包括方法或者构造函数中的实际字节码内容。
These classes define methods for modifying all aspects of the item represented by the class, including the actual bytecode body of a method or constructor.
为此,您可以编写一个绑定函数,用于修改元素的highlight -effect类以变更元素的背景颜色,如清单15所示。
To achieve this, you can write a binding function that will alter elements with the highlight-effect class to have a different background color, as shown in Listing 15.
set_curr_task:当任务修改其调度类或修改其任务组时,将调用这个函数。
set_curr_task: This function is called when a task changes its scheduling class or changes its task group.
因为Timer是类而不是接口,而且线程实际是在类的构造函数中产生的,所以应用服务器不能修改这种行为。
Because Timer is a class rather than an interface and the threads are actually spun off in that class's constructors, an application server cannot modify this behavior.
控件的包装类指定可用来修改控件的运行时行为的函数。
The control's wrapper classes specify the functions you can use to modify the run-time behavior of the control.
如果在函数或类定义之外声明变量或常数,则是全局变量,它的值可在整个程序中访问和修改。
If you declare a variable or constant outside a function or class definition, it is a global variable, and its value is accessible and modifiable throughout your program.
它存在的所有实例,并试图修改它的类的复制构造函数是毫无意义的(除非你是用它来保持某种计数器的实例)。
It exists for all instances, and to attempt to modify it in the class copy constructor makes little sense (unless you are using it to keep some kind of counter of instances).
它存在的所有实例,并试图修改它的类的复制构造函数是毫无意义的(除非你是用它来保持某种计数器的实例)。
It exists for all instances, and to attempt to modify it in the class copy constructor makes little sense (unless you are using it to keep some kind of counter of instances).
应用推荐