For this example, the facade interface exposes one public method for each command, as illustrated in Listing 6.
对于这个范例,facade接口为每个command公开了一个公共方法,如清单6所示。
This interface has one method, the public void PropertyChange (PropertyChangeEvent event).
这个接口有一个方法publicvoid PropertyChange (PropertyChange event event)。
This interface defines a single method, namely public void event (CometEvent event) to implement in our servlet. Listing 1 shows the two main methods of this servlet.
此接口定义了在我们的Servlet中实现的名为publicvoidevent (CometEventevent)的单个方法。
I found it seems useful to separate abstract method into two methods, one for public interface, the other to be overridden by subclasses.
我发现似乎有用的抽象方法分离到两个方法,一个公共接口,另一个是被子类覆盖。
An unsealed externally visible type provides an explicit method implementation of a public interface and does not provide an alternative externally visible method that has the same name.
未密封的外部可见类型提供了显式实现公共接口的方法,但没有提供具有相同名称的其他外部可见方法。
Another common reason to restrict a method not intended for public use (but that must be public) is to avoid having to document and support what might be a very internal interface.
将方法限制成不提供公用用途(但必须是公用的)的另一个常见的理由是要避免记载或支援可能位于非常内部的介面。
Returns a method object that reflects the specified public member method of the class or interface represented by this class object.
返回一method对象,映射该Class对象表示的类或接口中的指定公共成员方法。
Returns a method object that reflects the specified public member method of the class or interface represented by this class object.
返回一method对象,映射该Class对象表示的类或接口中的指定公共成员方法。
应用推荐