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类提供一个单独的方法来显示打印机选择对话框
The example shows an interface called PersonProvider, which declares a single method.
该示例显示了一个名为PersonProvider的接口,该接口将声明单个方法。
A CharSequence provides only a single method for accessing its characters: charAt (x).
CharSequence只提供了一个方法来访问它的字符:charat (x)。
Instead, you define a single method, named after the member, that you want to allow for.
相反,只需要定义一个方法,以成员的名称命名它。
A serializer implements org.apache.soap.util.xml.Serializer and realizes a single method.
序列化器实现or g . apache . soap . ut il . xml . Serializer并实现一个方法。
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)。
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参数。
A deserializer implements org.apache.soap.util.xml.Deserializer and realizes a single method.
反序列化器实现or g . apache . soap . ut il . xml . Deserializer并实现一个方法。
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类中实现的方法。
A server validator must implement the IServerValidator interface, which defines a single method, validate.
服务器验证器必须实现IServerValidator接口,它设置了一个单一方法,即validate。
Marx's research method is not a single method, but the total of a series of methods of different levels.
马克思的研究方法不是一个单独的方法,而是一系列各种层次的方法的总和。
The interface to read from a channel is called ChannelInput and consists of a single method called read .
从通道读取对象的接口叫作ChannelInput,它只有一个方法,叫作read 。
Data link relies on a single method, link, to tie together input elements on a form and the target object.
Datalink通过一个名为link的方法,来将表单中的input元素和目标对象绑定在一起。
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,其中定义了您想调用的代码。
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实现的。
There is a single method to implement called map (which is parameterized based on the types of the (key,value) pair that are the input).
这里有一个名为 map的简单实现方法,该方法基于输入 (key,value) 对的类型进行参数化。
For example, if you want to emit a separate method for each object, you need a single method that calls all of these methods in turn.
例如,如果要为每个对象发出一种不同的方法,则需要一个依次调用所有这些方法的方法。
Using a closure to encapsulate other calls allows you to expose a single method which can result in calls to another service methods.
使用一个封闭的封装调用允许你公开一种方法可以导致调用另一个服务的方法。
应用推荐