Interfaces should be small, preferably containing a single method.
接口应该小,最好只包含一个方法。
This interface requires you to implement a single method called event().
这个接口要求实现一个称为 event() 的方法。
The ServiceUI class provides a single method to display the printer selection dialog
ServiceUI类提供一个单独的方法来显示打印机选择对话框
A CharSequence provides only a single method for accessing its characters: charAt (x).
CharSequence只提供了一个方法来访问它的字符:charat (x)。
A serializer implements org.apache.soap.util.xml.Serializer and realizes a single method.
序列化器实现or g . apache . soap . ut il . xml . Serializer并实现一个方法。
The example shows an interface called PersonProvider, which declares a single method.
该示例显示了一个名为PersonProvider的接口,该接口将声明单个方法。
Similarly, the ChannelOutput interface consists of a single method called write(Object o).
类似地,ChannelOutput接口也只有一个方法,叫作write(Objecto)。
The Executor interface has a single method - execute - that accepts the Runnable parameter.
Executor接口有一个execute方法,它接受Runnable参数。
This works well for single method changes or class extensions to already existing libraries.
这种模式非常适合单个方法的修改或者是在已有类库的基础上对类进行扩展。
Instead, you define a single method, named after the member, that you want to allow for.
相反,只需要定义一个方法,以成员的名称命名它。
A deserializer implements org.apache.soap.util.xml.Deserializer and realizes a single method.
反序列化器实现or g . apache . soap . ut il . xml . Deserializer并实现一个方法。
A single method can no longer produce reliable estimates across every step in the process.
单一的评估方法不可能在过程的每一步产生可靠的评估结果。
The java.util.concurrent.Executor interface has only a single method: execute (Runnable).
Executor接口仅有一个方法:execute (Runnable)。
JiBX extensively USES this technique of combining multiple parser operations in a single method.
JiBX广泛地使用将多个解析器操作组合在单一方法中的这种技术。
A single method may, depending on the arguments, either retrieve (access) data or change (mutate) data.
取决于参数,同一个方法可以检索(access)数据,或者更改(mutate)数据。
The interface ICollaborator has a single method that must be implemented in the Collaborator class.
接口icollaborator有一个必须在collaborator类中实现的方法。
The interface to read from a channel is called ChannelInput and consists of a single method called read .
从通道读取对象的接口叫作ChannelInput,它只有一个方法,叫作read 。
Parents may find that the more they rely on one single method, the less effective that method becomes.
父母们也许会发现他们越依赖单一的方法,那个方法就越没那么有效。
A server validator must implement the IServerValidator interface, which defines a single method, validate.
服务器验证器必须实现IServerValidator接口,它设置了一个单一方法,即validate。
Data link relies on a single method, link, to tie together input elements on a form and the target object.
Datalink通过一个名为link的方法,来将表单中的input元素和目标对象绑定在一起。
Therefore, all our strategies need to do is to implement an interface with one single method - Execute.
因此,我们所有的战略需要做的是实施单一的方法-执行一个接口。
But in essence, an event is still connected to a single method, which might then need to act on various widgets.
但是本质上,事件仍旧被连接到单个方法上,随后可能需要作用于各种窗口构件。
You create a new IDatabaseRunnable that defines the code you want to call. This interface provides a single method.
创建一个新接口idatabaserunnable,其中定义了您想调用的代码。
You don't have to write a test for every single method you write, only production methods that could possibly break.
你不必为每个方法都编写测试程序,只需为那些可能会发生变化的方法编写测试程序就够了。
The Command interface defines only a single method, called execute, that accepts a single parameter, called CommandModel.
Command接口仅仅定义了一个单独的方法,叫做execute,这个方法接受一个单独的操作,叫做CommandModel。
Though band ratio is highly evaluated as a single method in oil-gas exploration, the effect is far from satisfactory.
在基于单一方法进行油气勘探的过程中,前人对波段比值的方法给了很高的评价,但效果均不显著。
One interface is provided for each type of channel exit, and each interface provides a single method to be implemented.
一个接口提供给每种通道出口,每个接口都提供一个需要实现的方法。
The DictionaryIO class has a single method, export , which expects a Dictionary object and USES it to output a dummy message.
dictionaryio类具有单个方法export,它接受一个Dictionary对象,并使用它来输出假消息。
The GenericDeclaration interface defines a single method, which returns the array of TypeVariables included in the declaration.
GenericDeclaration接口定义了一个方法,它返回在声明中包含的TypeVariable 的数组。
Like the RecordComparator, the RecordFilter is implemented by the addition of a single method, matches , to the enumerator code.
与RecordComparator类似,RecordFilter也是通过在枚举器代码中增加一个方法matches实现的。
应用推荐