How can write method act similar to clone method of object?
如何写方法的行为类似于对象的克隆方法?
BlackHoleChannel implements the ChannelOutput interface and contains an empty write method.
BlackHoleChannel实现ChannelOut put接口,包含一个空的write方法。
When you have a connection to the web server, send the HTTP request using the write method.
当您连接上Web服务器之后,就可以使用write方法发送HTTP请求。
Unfortunately, the read method also blocks until data is available, as does the write method.
不幸的是,read方法也要一直阻塞到数据可用为止,write 方法也一样,。
If it is ready to handle a new request, the write method enqueues the client for request processing.
如果它准备处理新请求,write方法就会为请求处理而将该客户机排到队列中。
A read-write method based on microcomputer and CPLD technique for chromatic mastering system was described.
提出了彩色母盘刻录系统中一种基于单片机和复杂可编程逻辑器件(CPLD)技术的激光读写控制方法。
However, this improvement doesn't come without a price; there are hidden pitfalls when using the mmap+write method.
然而,性能的改进需要付出代价的;是用mmap与write这种组合方法,存在着一些隐藏的陷阱。
In the write method, the code reads the content of the data object and stores it in the passed "message" parameter.
在write方法中,代码读取了数据对象的内容,并将其存储在传递的“message”参数中。
Finally, after finishing the desired workbook object, write it to a file using the workbook's write method (Listing 21).
最后,完成想要的工作簿对象之后,使用工作簿的write方法将它写入一个文件(参见清单21)。
Xtrace:maximal=mt,output=trace.out,methods={tests/mytest/*.*}: Write method trace to file for all methods in the tests.mytest package.
maximal=mt,output=trace.out,methods={tests/mytest/*.*}:对于 tests.mytest包中的所有方法,将方法跟踪写到文件中。
The read method transforms a JMS TextMessage into a data object, and the write method transforms a data object back into a JMS TextMessage.
read方法将JMSTextMessage转换为数据对象,而write方法将数据对象重新转换为JMS TextMessage。
Teachers want to be a basic condition is the blackboard and write the word, but several write method undesirable situations, and he is a bit of despair.
要想做一名教师,最基本的条件是能写黑板字,然而几种写字方法不如意,他感到些许绝望。
To improve performance, rope introduces a write method that accepts a writer and a range specification and writes the rope's specified range into the writer.
为了提高性能,rope引入了一个write方法,接受一个writer和一个范围说明,然后将rope的指定范围的字符写到writer。
JSR 286 adds a write method that allows you to stream URL objects directly to the response writer instead, avoiding the creation of temporary string objects.
JSR 286添加了write方法,允许您将URL对象直接流向响应写出程序,从而避免创建临时字符串对象。
Finally, this data is written to the Context object (whose write method is parameterized based on the types of the (key, value) pair that are produced by map).
最后,这个数据被写到Context对象(它的write方法基于映射生成的(key,value)对的类型进行参数化)。
When authoring a Data Binding the message headers were passed into the read or write method, allowing transformation logic to be determined by a field in the protocol header.
当创作数据绑定时,会将消息标头传入读或写方法,并允许协议标头中的字段确定转换逻辑。
Shared memory provides the fastest method of interprocess communication, because it processes read and write messages at the speed of memory transfers.
共享内存提供了最快的进程间通信方法,因为它以内存传输的速度来处理读写消息。
So the next step is to write a test for this method.
所以下一步就是为这个方法编写一个测试。
Once every class has at least one test, write one test for every method.
当每个类都有了至少一个测试,再为每一个方法编写一个测试。
You write a method that performs that operation.
你编写一个方法来执行这个操作。
However, this approach is widely applicable outside of the context of RMC: You could use it to write a method book, for instance.
无论如何,这种方法在RMC环境以外能够非常广泛地被利用。比如,您可以利用它编写一本方法书籍。
Write to the access method of the SQLXML object.
写入到这个SQLXML对象的访问方法。
Another method is to write a plug-in or extension for your application that provides support for the desired file formats.
另一种方法是为支持所想要的文件格式的这个应用程序编写一个插件或扩展。
So, instead of letting the tool create the initial test method, I will write each method as I go.
因此,我将自己书写每一个用到的方法,不让工具生成原始的测试方法。
This method is easy to write and implement.
这种方法很容易编写和实现。
If you didn't write the method, do you think you could make the requisite changes without introducing a defect?
如果您该方法不是您编写的,您认为您能只做必要的更改而不会引入任何缺陷吗?
The advantage of using this method is that you write portable, vendor-independent code.
使用这种方法的优势在于您可以编写可移植的、厂商无关的代码。
Can you imagine having to look at several files to just write one method?
您是否能够想象只是为了编写一个方法也要查看多个文件的情况?
Fix the immediate problem: maybe it's the fact that you didn't write the new method yet.
处理直接的问题:也许您还没有撰写新的方法。
Fix the immediate problem: maybe it's the fact that you didn't write the new method yet.
处理直接的问题:也许您还没有撰写新的方法。
应用推荐