Improve Servant Javadoc
This commit is contained in:
parent
c3a827b475
commit
8db2bb2ac8
@ -7,6 +7,8 @@ import java.util.ArrayList;
|
|||||||
* Servant offers some functionality to a group of classes without defining that functionality in each of them.
|
* Servant offers some functionality to a group of classes without defining that functionality in each of them.
|
||||||
* A Servant is a class whose instance provides methods that take care of a desired service,
|
* A Servant is a class whose instance provides methods that take care of a desired service,
|
||||||
* while objects for which the servant does something, are taken as parameters.
|
* while objects for which the servant does something, are taken as parameters.
|
||||||
|
* <p>
|
||||||
|
* In this example {@link Servant} is serving {@link King} and {@link Queen}.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class App {
|
public class App {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user