现在,我们初始化获取所有联系人的第一个curl命令。
Now, let's initialize the first curl command that gets all the contacts.
我们初始化上下文,寻找并实例化存根,进而调用Web服务相关方法。
We establish our context, look up, and instantiate a stub to a web service, and then call the web service's method to do our work.
当定义没有初始化式的变量时,系统有时候会帮我们初始化变量。
When we define a variable without an initializer, the system sometimes initializes the variable for us.
在之间,我们初始化一些连接信息,包括数据库名称、主机名、用户名和密码。
In between, we initialize some connection information, including the database name, the host name, the user name, and the password.
当我们初始化这个网格小部件(dojox . grid . DataGrid)时,数据存储和结构共同定义了网格。
When we instantiate the grid widget (dojox.grid.DataGrid), the store and structure come together to define the grid.
当我们创建了一个扩展时,我们初始化新扩展的子类(ExtBrowserWindow)的一个对象,但是如果使用一个插件时,您使用的是您想要显示的规则ExtJS组件。
When we created an extension, we instantiated an object of the new extension's subclass (ExtBrowserWindow), but when using a plug-in you instead use the regular ext JS component you wish to display.
在这个应用程序中,我们在初始化函数中打开了数据库。
In this application, we open the database in the initialize function.
类的这种重构也会改进代码,因为我们将初始化逻辑从对象的构造函数分离出来了。
This refactoring of the class also improves the code so that we have separated the initialization code from the object construction code.
在每个例子中,有我们有一个分号来指明,那是我们的初始化。
In every example thus far we've had a semicolon saying that's our initialization.
为启动外壳客户机,我们必须先初始化GTK环境,创建一个主窗口,然后向其中添加控件,如下面的代码片断所示。
To start our skin client, we must first initialize the GTK environment, create a main window, and add widgets to it, as in the following code snippets.
正如我们在前面提到过的,属于业务对象类型的变量未自动初始化。
As we mentioned before, variables that are business objects are not automatically initialized.
万一我们在首次尝试时不能成功地初始化项目,那么,在您再次尝试该过程之前,清空目标文件夹是明智的。
In case you are unable to initialize the project successfully at first attempt, it's advisable to clean the target folder before you attempt the process again.
在这个示例中,我们定义了一个定制工厂,并将一些初始化代码从_ main _块移到了该工厂。
In this case, we define a custom factory and move some of the initialization from the _main_ block to the factory.
对我们来说,最有用的方法是initializeDefaultPreferences() ,它初始化首选项存储中的缺省值,如下面所示
The most useful method for us is initializeDefaultPreferences(), which initializes default values in the preference store, as shown here
在这里实例中,我们也需要声明和初始化一个变量,用来处理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.
由于该类是由LotusExpeditor框架构造的,所以不能使用我们的数据模型初始化这个特定的实例。
Because this is constructed by the Lotus Expeditor framework, we cannot initialize this specific instance with our data model.
借助于Wicket的TestPanelSource类,我们可以根据测试需要延迟初始化给定的面板。
By using Wicket's TestPanelSource class we can lazily initialize a given panel for testing purposes.
第一个事情是我们叫做的“初始化。”
The first thing is what we're going to call "initializations."
浏览org. hsqldb . ut il . databasemanager源代码之后,我们发现实例化和初始化一个JDBC连接很容易,但是所必需的方法不是公共的。
Browsing the org.hsqldb.util.DatabaseManager source code, we find that it could be easily instantiated and initialized with a JDBC connection, but the required methods are not public.
在这个例子中,我们首先初始化包,然后创建ForumFactory,用它生成所有的子对象。
In this example, we first initialize the package and then create a ForumFactory that is used to create all of the subobjects.
我们的意图是在Zero中接收到传入请求时初始化zeroHTTP线程,随后处理NotesThread并呈现输出。
Our intention is to initialize the Zero HTTP thread when the incoming request is received in Zero and subsequently dispose of the NotesThread prior to rendering the output.
在小部件创建阶段,我们要在某些特定的初始化阶段调用一些方法来为实现者提供一个执行一些操作的机会。
During the widget creation phase, some methods are called to give implementers a chance to perform some actions in specific initialization phases. The following methods are invoked.
让我们来回顾一下Linux的引导和初始化过程。
让我们看看Metallookandfeel如何初始化包含了图形化资源的这个表。
Let's look at how the Metal look and feel initializes the table containing the graphical resources.
当初始化代码就绪后,我们取得代表talks的成员变量,然后检查泛型信息是否正确:正确! talks是一个List,但是它是一个talk的List。
Once this setup code is ready, we retrieve the field representing the talks, and we check that the generic type information is correct: yes, talks is a List, but a List of talks.
在此,我们首先使用Oozie服务器URL对工作流客户端进行初始化。
Here, first workflow client is initialized with Oozie server URL.
到这里为止,我们学习了如何声明一个类,如何初始化它们,以及继承的一些基础。
So far, we've covered how to declare classes, how to instantiate them, and some of the basics of inheritance.
我们定义的函数是在计算时间数据时进行调用的,所以我们也可以在报表的初始化阶段声明它们(见于图10)。
The functions we defined are called when calculating the time data, so we also have to declare them in the initialization phase of the report (see Figure 10).
这样我们将可以传递实现每一个子线程初始化的场所对象。
Then we can pass along the locale object with each child thread initiation.
我们没有声明构造函数用其它值来初始化它。
There is no constructor defined to initialize it to another value.
应用推荐