In this example, we will use the most straightforward method of all — writing our object reference to a file that will be picked up by our client.
在这个示例中,我们将使用所有方法中最直截了当的一种—将对象引用写入一个文件,该文件将由客户机选取。
You achieve this by writing a single method to change the displayed text.
通过编写一个方法来修改显示的文本,可以实现这一要求。
Like writing, there is a different method for each of the supported data types.
与写数据相似,每种受支持的数据类型,都有自己的与众不同的方法。
An alternate method of writing an adapter - and one that some prefer - is to implement an interface to adapt behavior, rather than extending an object.
编写适配器的替代方法——并且是推荐方法——是实现一个接口来修改行为,而不是扩展对象。
If you are writing a method book, for instance, the method Web Site is replaced by a method book.
例如,如果您编写一本方法书,那么这个就会被一本方法书取代。
Many times, a method I'm writing has no meaningful response for an exception -- and, chances are, neither does any of the method's potential users.
有很多次,我正在编写的方法不对异常作出有意义的响应 ―并且有时该方法的潜在使用程序也不响应。
Writing an equals() method is not without pitfalls.
编写一个完美的equals()方法是不现实的。
It would be utilized as shown in this example, which USES the macro to determine the method of writing double quotes in ISO C99 portable code.
对wchar_t的利用如这个示例所示,使用宏确定在ISOC99可移植代码中写双引号的方法。
ContentHandlerExtractor, introduced in a previous column, was helpful in writing this method.
上一篇专栏文章中介绍过的ContentHandlerExtractor有助于编写这个方法。
The most popular method of writing use case descriptions remains true to the ideas of Ivar Jacobson, inventor of use case modeling.
最流行的编写用例描述的方法体现着Ivar Jacobson(用例建模的发明者)的思想。
The transformInto method is used for writing data and one of the following types is passed in to write the output
transformInto方法用于写入数据,并传入以下类型之一来写入输出
Imagine that you have implemented the virtual campus system and we are now writing the method that executes when a room is entered. Your code would look like this.
假设您已实现虚拟校园系统,并且我们现在正在编写在进入房间时执行的方法。
When building methods, you should also form the habit of constructing them so they do one thing and one thing only. There are several reasons for such diligent focus in your method writing.
构建方法时,您应该养成这样的习惯,让每个方法只完成一件事情。
Now the task of retrieving all clients participating in an event is simply a matter of writing a finder method in the client home interface, and an SQL query in the helper finder class.
现在,检索所有参与活动的客户的任务只是在Client宿主接口中编写finder方法和在helper finder类中编写SQL查询。
With the JSR 168 API for URL generation, portlets always had to convert URL objects to a string using the PortletURL.toString method before writing them out into markup.
对于使用JSR 168API的URL生成,Portlet始终必须在将URL对象写入到标记中之前,使用PortletURL. toString方法将其转换为字符串。
This method provides a shortcut for writing a message to the test log.
这种方法为对测试日志编写一条信息提供了一种快捷的方式,或者以refactoring的方式提供了一个值。
That defines an interface with a method for writing a buffer of bytes.
这里定义了一个接口和一个写字节缓冲的方法。
Use this method for writing out URLs.
应该使用此方法来写出url。
Writing on index CARDS, in pencil, had become Nabokov's preferred method of composition.
在索引卡上,用铅笔写,是纳博科夫最喜欢的写作方式。
We should be more flexible as long as you understand that writing method, find a good story, and use others beautiful composition of words, that your composition is a good composition.
我们应该灵活一点只要你明白写作方法,找到好题材,而且运用别人作文中的优美词句,那你的作文就是一篇好作文。
For writing out the document I use the basic method defined internally within Crimson.
为了写出文档,我使用Crimson中内部定义的基本方法。
The foreword part of this text has explained the writing cause and writing purpose and writing method of this text mainly.
本文的引言部分主要讲了本文的写作缘由和写作目的以及写作方法。
Her outstanding achievement lies in writing method of female bodies, which allows the female to seek for their own narrative tactics for completion and challenge male discourse with unique experience.
其突出成就即在于,以“回到自己的屋子”的女性身体的写作方式,使女性寻找自己话语的叙事策略得以完形,并通过独特的经验内容对男性话语提出挑战。
The writing method of the thesis is theory mixed with actual.
本论文的写作思路是理论结合实际。
In narrating time, not only did he break out the traditional writing method according to time, but also showed unique thinking on the selection of story time.
在叙事时间上不但部分地打破了以往小说按时间先后的顺序写作的方法。而且故事时间选定也别具匠心。
The invention discloses a writing method with sharp , which uses gas to transport liquid material and relative device, belonging to the technique of processing liquid material.
基于气体输运流体材料的针尖直写方法及其装置,属于流体材料加工技术领域。
Writing method of logical sequence refers to following a sort logical order in the process of writing.
写作中的逻辑顺序法就是在写作的过程中,按照逻辑顺序进行写作的方式和方法。
The writing method of Qin Mu's and Feng Zikai's proses with the same title Autumnis quite different.
秦牧和丰子恺的同题散文《秋》的写作方法差异很大。
The writing method is the method for writing by comparing a feedback signal with a set signal.
所述写入方法采用反馈信号与设定信号对比的写入的方法。
The writing method is the method for writing by comparing a feedback signal with a set signal.
所述写入方法采用反馈信号与设定信号对比的写入的方法。
应用推荐