Add the method in Listing 23 to gsutils.
将清单23中的方法添加到gsutils。
Listing 8: Wrapping the method in an array.
列表8:将方法存入数组。
For example, in the resource class, uncomment the method in Listing 23.
例如,在资源类中,取消清单23中的方法的注释。
Now the method in Listing 1 can be accessed very simply, as shown in Listing 2.
现在可以很简单地访问清单1中的方法,如清单2所示。
Define the API method or methods and implement the method in the controller class.
定义一个或多个API方法并在控制器类中实现方法。
To get the text response, uncomment the method in the resource class in Listing 25.
要获得文本响应,对清单25中资源类中的方法取消注释。
When the application is ready to start executing, the method in Listing 4 will be invoked.
当应用程序准备好开始执行时,清单4中的方法将被调用。
As long as you don't have code lists with many columns, the method in Listing 7 is adequate.
只要您的代码清单中包含的列不是非常多,那么清单7的方法就足够了。
The method in Listing 5 will be invoked when a successful response is returned from the server.
清单5中的方法将在服务器返回一个成功响应时被调用。
The name attribute of the should be set to the name of the method in the service implementation class.
的name属性应设置为服务实现类中方法的名称。
All you've done here is take the same signature you used for the method in the actual concrete class.
在这里完成的所有操作是获得用于实际的具体类中方法的同一个签名。
There isn't much going on in the method in Listing 4 except the fact that no exception is thrown by the code.
在清单4的方法中,除了代码不抛出异常的事实外并没有什么太多的事情。
The method in Listing 16 has the benefit that it works with all versions of tar, cpio, or any other archive tool.
清单16中方法的优点是,它可以使用各种版本的tar、cpio或任何其他的存档工具。
The method in class Branch will not compile because this.left and this.right are not guaranteed to have value fields.
类Branch中的方法将不编译,因为 this.left和 this.right 不保证具有value字段。
The method in this article is especially useful during the following stages in the software development life cycle.
本文介绍的方法在软件开发生命周期的以下阶段中尤其有意义。
It took John Stuart Mill, writing in 1848, more than a century after the episode, to find the method in the madness.
在事件过去一个多世纪后的1848年,约翰·斯图尔特·米尔在其著作中发现了疯狂中应用的手法。
Using the method in this article removes the complexity and the learning curve for those unfamiliar with user modeling.
使用文中提供的方法,对于不熟悉用户建模的人来说,可以降低复杂性以及学习曲线。
You were able to change the intent of the disk_space method completely by overriding the method in the MyDiskMonitor class.
通过重写My diskmonitor类中的方法,您能够完全改变disk_space方法的意图。
Other languages would have to resort to Inheritance for this, ie. define the method in a class and force users to extend that.
其他编程语言可能要使用继承才能做到:比如在类中定义方法并强迫用户扩展这个方法。
So if you examine the documentation comments surrounding the method in Listing 4, you find the @ejb-transaction type="Required" tag.
所以如果检查Listing4 中的方法旁边的文档注释,您会发现 @ejb-transaction type="Required"标记。
And we see how to specify that we wish to call the method in the global scope by just prefacing the call with the namespace operator.
并且我们看到如何指定以在全局空间内调用方法:只需使用名称空间操作符作为调用的前缀。
Method Architecture refers to the structure of the method in terms of the significant structural elements and the relationships among them.
方法架构是根据重要的构件和它们之间的相互关系对这个方法结构的阐述。
This returns true if the MDB is using container-managed transactions and the method in question has a transaction attribute of Required.
如果MDB正在使用容器托管的事务,而且要处理的方法具有Required事务属性,那么isDeliveryTransacted会返回true。
The method in Listing 6 initializes a new instance of the Listing model, and populates it using the input submitted through the Web form.
清单6中的方法初始化 Listing 模块的一个新实例,使用通过Web 表单提交的数据填充这个新实例。
If you use the Never transaction attribute and receive an exception when invoking the method in question, you know a transaction was present.
如果您在调用相应的方法时使用了Never事务属性并且接收到了一个异常,则知道事务已经呈现。
Now, if you follow the method in Listing 3, your SAX code can hum along without even having to be recompiled, using different parser implementations as needed.
现在,如果使用“清单3”中的方法,那么SAX代码甚至不必进行重新编译就能运行,并根据需要使用不同的语法分析器实现。
All a decorator does is let you avoid repeating the method name, and put the decorator near the first mention of the method in its definition. For example.
decorator所做的一切就是使您避免重复使用方法名,并且将decorator放在方法定义中第一处提及其名称的地方。
For this purpose, the listeners have to be aware of the method in CityWeatherPlugin to invoke to register themselves as listeners to the weather data events.
为此,监听器必须了解CityWeatherPlugin中的注册方法,这样才能将本身注册为气象数据事件的监听器。
NotSupportedException: Throw this exception when a type does not implement a method for which there is a corresponding property indicating whether or not the method in question is supported.
NotSupportedException:由于有对应的属性来标示他是否被支持而导致执行一个方法失败时,就会抛出这个异常。
In part 2 of this series, DB2 security plug-ins were introduced, as well as the method in which DB2 security is implemented, and a list of relevant detailed information about security plug-ins.
本系列的第2部分介绍了DB 2安全性插件、实现DB 2安全性的方法及一系列与安全性插件相关的详细信息。
应用推荐