The simplest way to create a Selector is to use the open method, as shown below.
创建Selector最简单的办法是使用open方法,如下所示。
An alternative open method provides finer control over the channel, allowing file attributes to be set.
替代方法,open提供了对通道的更好的控制,允许设置文件属性。
Gets the interval of time after which the open method, invoked by a communication object, times out.
取得通讯物件叫用之传送方法逾时前所经过的时间间隔。
You might notice that when you send the request, using the open method, you specify three parameters.
您可能已经注意到了,在用open方法发送这个请求时,指定了三个参数。
You also tell the open method that you want to perform the operation asynchronously, as shown in Listing 4.
还告诉open方法我们希望异步地执行操作,见清单4。
You create a file object using the file constructor or the open method, which is an alias for the file constructor.
用file构造函数或open方法创建file对象,open是file构造函数的别名。
The open method is called by the Batch Container to indicate that the BDS is about to be used and to prepare the BDS for operation.
批处理容器调用open方法来指示将要使用BDS和为进行操作而对BDS做准备。
Otherwise, because of good lighting and ventilation function, more and more internal constructions begin to choose this kind of window with the open method.
另外,由于这种窗型具有良好采光性能和合理的空气流通性能,越来越多的国内建筑也开始选用这种开启方式的门窗。
In following the Open Closed Principle, I want to be able to write a class or a method and then turn my back on it, comfortable that it does its job and I won't have to go back and change it.
在遵循开闭原则的过程中,我期望能够写出一个类或者方法,在以后我回过头读它的时候,会很舒服地看到它能完成它的工作并且我也不需要再修改它。
If the record store is already open, this method returns a reference to the same record store object.
如果记录存储已经打开,这个方法将返回对同一个记录存储对象的引用。
As you might guess from looking at the sequence of visitor method calls, some of these calls effectively open a new context for an embedded type signature component.
通过观察访问器方法调用序列,您或许已经猜到,其中部分调用有效地为嵌入的类型签名组件打开了一个新的上下文。
This method attempts to open a stream on a URL object pointing to the remote server.
此方法会试图打开指向远端服务器的URL对象上的一个流。
The open cover shall stipulate the scope of cover, the range of property insured, the maximum amount of insurance each risk or at each place and the method of settling premium, etc.
预约保险合同应当订明预约的保险责任范围、保险财产范围、每一保险或一地点的最高保险金额、保险费结算办法等。
Providing a method for remotely shutting down systems is a great way to open doors for control and abuse.
提供远程关闭系统的方法容易产生对计算机的控制和滥用。
Whenever a user selects Open from a menu bar, the run method on line 13 executes.
每当用户从菜单栏选择“open…”时,都要执行第13行上的run方法。
The Open() method opens the connection to the database and throws an IfxException if the connection fails.
Open()方法打开了到数据库的连接,如果连接失败,则抛出一个IfxException。
Running the same iterparse method in Listing 4 on the Open Directory data takes 122 seconds per run, or slightly more than five times longer than parsing the copyright data.
对OpenDirectory数据使用清单4中的iterparse方法,每次运行耗时122秒,约是解析版权数据所用时间的5倍。
The simplest method is to open Notepad, create a new file, copy the following code (Listing 2) into the new Notepad file, and save as PresentBlox.jsp.
最简单的方法是打开记事本,新建一个文件,将下列代码(清单2)复制到新记事本文件中,然后另存为 PresentBlox.jsp。
Open source: Allows you to automatically open the source code associated with the selected package, class, and method combination if the source code is imported into the current workspace.
OpenSource:如果源代码导入了当前的工作区,这个选项可以让您自动地打开与选择的包、类和方法关联的源代码。
Although not shown in this example, it is also possible to modify the StyleBean class so that the init method could open the appropriate CSS, instead of referencing the properties resource bundle.
尽管这个示例中没显示,但修改stylebean类,从而使init方法可以打开恰当的CSS,而不必引用属性资源束,这也是可能的。
The possibility also exists that, if the bean should get destroyed by the container (for example, because a method has thrown a run-time exception) an open connection might be left dangling.
当容器毁坏bean 时(如由于方法生成了一个运行时异常),还有可能留下打开的连接。
Once an authenticated connection is open, the getFeed() method retrieves the contacts feed.
一旦打开了一个已验证连接,getFeed()方法就会检索联系人提要。
Let's look at an open standard method to ensure that a message is actually sent from Jethro.
让我们看一种能够确保消息确实来自Jethro的公开的标准方法。
You could easily just open up the Fixnum class and add a method to print a bar of the appropriate length, as in Listing 3.
您可以打开fixnum类,并添加一个方法来打印出相应长度的柱,如清单3所示。
The connection is held open for the lifetime of the servlet, and is not closed until the servlet's destroy method gets called.
在Servlet的生存期中,该连接将保持打开状态,直到调用Servlet的destroy方法时才会关闭。
Listing 5 shows how we would open an HTTP connection with a specified request method of GET, passing a parameter with the name size and a value of large.
清单5显示了如何用特定请求方法GET和一个名为size值为large的参数打开一个HTTP连接。
The Arch SCM is a popular method for open source development because developers can develop on separate repositories with full source control.
ArchSCM是开源开发的一种很流行的方法,因为开发人员可在单独的存储库上进行开发,同时又能够控制全部资源。
Second, you can double-click any method call and Visual Studio will open the method for you.
第二,可以双击任何方法,VisualStudio将为您打开该方法。
Second, you can double-click any method call and Visual Studio will open the method for you.
第二,可以双击任何方法,VisualStudio将为您打开该方法。
应用推荐