Name: gb36485 Date: 11/30/98
There are two user groups of a java interface.
(1) Clients who use the services of an interface
provider.
(2) Developers who implement the services.
Even with a "non-public" interface, I have a very
difficult time making an implementation method "public".
Especially if an operation is related to an object's
identity or internal state.
For example, what I'd like to do:
interface ThingsIdentifiedByLabels {
/** Client interface */
public String getLabel();
/** Implementator interface */
protected setLabel( String labelId );
}
(Review ID: 25779)
======================================================================