当在会话中第一次引用时,全局变量将进行实例化来获得其默认值。
A global variable is instantiated to its default value when it is first referenced in the session.
可以将泛型类型看作是类型“函数”;它们通过类型变量进行参数化,这些类型变量可以根据上下文用各种类型参数进行实例化。
Generic types can be thought of as type "functions"; they are parameterized by type variables that can then be instantiated with various type arguments depending on context.
以下描述的斜体词就是源代码实例化变量的名字(也见于代码清单5、6、7和8)。
The words in italics in the following descriptions are the names of instantiated variables in the source code (also see Listings 5, 6, 7, and 8, which follow).
当作为构造函数参数时,这些可变或者不可变的变量会在一个对象被实例化的时候被初始化。
When used as constructor parameters, the mutable or immutable variables specified will be initialized when an object is instantiated.
下一步,应用程序将控制器对象作为全局变量进行实例化。
Next, the application instantiates the controller object as a global.
实例化XMLHttpRequest (xhr)对象变量。
定义并实例化响应变量。
要创建一个线程局部变量,请实例化类ThreadLocal的一个对象。
To create a thread-local variable, you instantiate an object of class ThreadLocal.
在第22行上,通过使用两个参数来实例化site变量:第一个参数包含对OleFrame的引用,第二个参数包含标识activex控件的字符串。
Line 22 instantiates the site variable using two arguments: the first argument contains a reference to an OleFrame, and the second argument contains a string that identifies the ActiveX control.
第二个字段的类型为StaticLocalInitFlag,它在针对foo类的每个实例第一次执行方法时协助正确初始化变量i。
The second field, of type StaticLocalInitFlag, assists in initializing the variable I correctly the first time the method executes on each instance of class Foo.
在这里实例中,我们也需要声明和初始化一个变量,用来处理Web服务返回的Address复杂类型,如清单13。
In this example, we also need to declare and initialize a variable to handle the Address complex type returned by the Web Service, shown in Listing 13.
在这种情况下,我们定义了变量newtask,并使用新建的Task实体实例对其进行初始化。
In this case we define a variable newTask that we initialize with a new Task entity instance.
ThreadLocal变量与常规变量的不同之处在于,每个线程都有其各自初始化的变量实例,这通过get()或set()方法予以评估。
ThreadLocal variables are different from normal variables in that each thread has its own individually initialized instance of the variable, which it accesses via get() or set() methods.
Rails版本已经优化了控制器和视图之间的集成(该集成能够使配置文件最小化)并且自动使控制器实例变量可供视图使用。
The Rails version has optimized integration between the controller and view that minimizes configuration and automatically makes controller instance variables available to the view.
通常你要分配的每个实例化代表着不相关的随机变量,这就意味着你应该为每一个新的引擎。
Usually you want every instantiation of a distribution to represent an uncorrelated stochastic variable, which means that you should a new engine for each one.
在第23行上,使用对olecontrolsite变量的引用来实例化site变量。
Line 23 instantiates the site variable using a reference to an OleControlSite variable.
你应该在静态变量和实例变量上面利用初始化语法。
You should utilize the initializer syntax for both static and instance variables.
在创建一个类型的任何实例之前,应该初始化其中的静态成员变量。
You know that you should initialize static member variables in a type before you create any instances of that type.
不应该使用实例构造函数、一些特殊的私有方法、任何其它习惯来初始化静态变量。
You should not use your instance constructors, some special private function, or any other idiom to initialize static variables.
在常见方案中,不应要求对嵌套类型进行变量声明和对象实例化。
Declaration of variables and object instantiation for nested types should not be required in common scenarios.
我会让勾夹的实例变量加载时,顶层的类被实例化。
I would make the tick Clip an instance variable that is loaded when the top level class is instantiated.
这意味着,如果一个变量被声明为接口类型,其值可参考,即实例化任何实现接口的类的任何对象。
This means that if a variable is declared to be the type of an interface, its value can reference any object that is instantiated from any class that implements the interface.
如果创建托管模板类型的变量,也将发生LNK2020,但同时不实例化该类型。
LNK2020 will also occur if you create a variable of a managed template type, but do not also instantiate the type.
系统介绍了区域化变量理论,并根据理论结合实例进行了变异函数的理论模型和结构分析研究。
Systematic description of the regionalized variable theory is presented and the theory is applied to study the variograms model and structural analysis in the light of a practical example.
系统介绍了区域化变量理论,并根据理论结合实例进行了变异函数的理论模型和结构分析研究。
Systematic description of the regionalized variable theory is presented and the theory is applied to study the variograms model and structural analysis in the light of a practical example.
应用推荐